* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-style: hidden;
}

body {
    font-family: 'Montserrat', 'Muli', sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.5;
    color: #4c4f53;
    background-color: #fff;
    min-height: 100vh;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
}

header {
    background: #fff;
    padding: 30px 40px;
    border-bottom: 1px solid #f2f2f2;
    margin-bottom: 0;
    position: relative;
}

header h1 {
    color: #000000;
    margin-bottom: 15px;
    font-size: 2.5em;
    font-weight: 600;
}

nav {
    display: flex;
    gap: 15px;
    align-items: center;
}

nav a {
    color: #000000;
    text-decoration: none;
    padding: 10px 20px;
    transition: all 0.3s;
    font-weight: 500;
    border: none;
}

nav a:hover {
    color: #4c4f53;
    background-color: #f2f2f2;
}

nav button {
    margin: 0;
}

main {
    padding: 40px;
    background: #ffffff;
    min-height: 500px;
}

.card {
    background: #fff;
    padding: 30px;
    border: 1px solid #f2f2f2;
    margin-bottom: 30px;
}

.card h2 {
    color: #000000;
    margin-bottom: 15px;
    font-size: 1.8em;
    font-weight: 600;
    border-bottom: 1px solid #f2f2f2;
    padding-bottom: 10px;
}

.card h3 {
    color: #000000;
    margin: 20px 0 10px 0;
    font-size: 1.3em;
    font-weight: 600;
}

.card p {
    color: #4c4f53;
    margin-bottom: 20px;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #000000;
    font-weight: 500;
    font-size: 0.95em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(32, 7, 7, 0.2);
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
    font-family: 'Montserrat', 'Muli', sans-serif;
    color: #4c4f53;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #000000;
    box-shadow: none;
}

.btn {
    padding: 12px 28px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

.btn:hover {
    transform: none;
    opacity: 0.9;
}

.btn-primary {
    background-color: #000000;
    color: white;
    border-color: #000000;
}

.btn-primary:hover {
    background-color: #333333;
    border-color: #333333;
}

.btn-secondary {
    background-color: #4c4f53;
    color: white;
    margin-top: 10px;
    border-color: #4c4f53;
}

.btn-secondary:hover {
    background-color: #333333;
    border-color: #333333;
}

.btn-danger {
    background-color: #cf2e2e;
    color: white;
    padding: 8px 16px;
    font-size: 14px;
    border-color: #cf2e2e;
}

.btn-danger:hover {
    background-color: #a00;
    border-color: #a00;
}

.message {
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message.hidden {
    display: none;
}

footer {
    background: #fff;
    padding: 25px;
    text-align: center;
    color: #4c4f53;
    border-top: 1px solid #f2f2f2;
}

/* List styles */
.list-item {
    background: #fff;
    padding: 18px;
    margin: 12px 0;
    border: 1px solid #f2f2f2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: box-shadow 0.3s;
}

.list-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.list-item-content {
    flex: 1;
}

.list-item-content strong {
    color: #000000;
    font-size: 1.1em;
    font-weight: 600;
}

.list-item-content p {
    margin: 5px 0 0 0;
    font-size: 14px;
    color: #4c4f53;
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 10px;
}

.badge-success {
    background-color: #7ad03a;
    color: white;
}

.badge-warning {
    background-color: #ffba00;
    color: #000000;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 20px;
    }

    header h1 {
        font-size: 1.8em;
    }

    main {
        padding: 20px;
    }

    .card {
        padding: 20px;
    }

    nav {
        flex-direction: column;
    }

    .list-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .list-item button {
        margin-top: 10px;
    }
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modal-content h3 {
    margin-bottom: 15px;
    color: #000;
}

.modal-content p {
    margin-bottom: 20px;
    color: #666;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
}

#dashboardMessage {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

#dashboardMessage.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

#dashboardMessage.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Scroll indicator styles */
#scrollIndicator {
    max-width: 300px;
    width: auto !important;
}

@media (max-width: 768px) {
    #scrollIndicator {
        max-width: 90vw !important;
        padding: 10px 15px !important;
        top: 10px !important;
    }

    #scrollIndicator div:first-child {
        font-size: 13px !important;
    }

    #scrollIndicator div:last-child {
        font-size: 16px !important;
    }
}
