* {
    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: #78350f;
    background-color: #fffef5;
    min-height: 100vh;
    padding: 0;
}

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

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

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

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

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

nav a:hover {
    color: #a00b38;
    background-color: #fef9e7;
}

nav button {
    margin: 0;
}

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

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

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

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

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #fec31c;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
    font-family: 'Montserrat', 'Muli', sans-serif;
    color: #78350f;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #d50e47;
    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: #d50e47;
    color: white;
    border-color: #d50e47;
}

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

.btn-secondary {
    background-color: #fec31c;
    color: #78350f;
    margin-top: 10px;
    border-color: #fec31c;
}

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

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

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

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

.message.success {
    background-color: #fffaed;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.message.error {
    background-color: #fce8ef;
    color: #7a0829;
    border: 1px solid #f8a6be;
}

.message.hidden {
    display: none;
}

footer {
    background: #fff;
    padding: 25px;
    text-align: center;
    color: #78350f;
    border-top: 3px solid #fec31c;
}

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

.list-item:hover {
    box-shadow: 0 2px 8px rgba(213, 14, 71, 0.15);
    background-color: #fef9e7;
}

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

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

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

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

.badge-success {
    background-color: #fcd34d;
    color: #78350f;
}

.badge-warning {
    background-color: #d50e47;
    color: #ffffff;
}

/* 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(213, 14, 71, 0.2);
    border: 2px solid #fec31c;
}

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

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

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

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

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

#dashboardMessage.success {
    background-color: #fffaed;
    color: #92400e;
    border: 1px solid #fcd34d;
    display: block;
}

#dashboardMessage.error {
    background-color: #fce8ef;
    color: #7a0829;
    border: 1px solid #f8a6be;
    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;
    }
}
