.form-input {
    display: block;
    width: 100%;
    padding: 0.875rem 1rem;
    margin-top: 0.25rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #593C1F;
    background-color: #ffffff;
    border: 2px solid #D9BBA9;
    border-radius: 0.5rem;
    transition: all 0.2s ease-in-out;
    outline: none;
}

.form-input:focus {
    border-color: #A67B5B;
    box-shadow: 0 0 0 3px rgba(166, 123, 91, 0.1);
    background-color: #ffffff;
}

.form-input::placeholder {
    color: #9ca3af;
}

.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background-color: #593C1F;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: #593C1F;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
    text-decoration: none;
}

.nav-link:hover {
    color: #A67B5B;
}

.nav-link-cta {
    background-color: #A67B5B;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    text-decoration: none;
}

.nav-link-cta:hover {
    background-color: #593C1F;
}

.nav-link-logout {
    background-color: #E8A87C;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: none;
    cursor: pointer;
}

.nav-link-logout:hover {
    background-color: #593C1F;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    margin-bottom: 1rem;
    list-style: none;
    background-color: transparent;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
}

.breadcrumb-item a {
    color: #A67B5B;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: #593C1F;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #593C1F;
    font-weight: 500;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #9ca3af;
}

/* Scroll to Top Button */
#scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: #A67B5B;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

#scroll-to-top:hover {
    background-color: #593C1F;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

#scroll-to-top:active {
    transform: translateY(-1px);
}

/* Progress Indicator */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #F2E8E1;
    z-index: 1000;
}

.progress-bar {
    height: 4px;
    background: linear-gradient(90deg, #A67B5B 0%, #E8A87C 100%);
    width: 0%;
    transition: width 0.1s ease;
}

/* Loading States */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(242, 232, 225, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #D9BBA9;
    border-top: 4px solid #A67B5B;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    margin-top: 1rem;
    color: #593C1F;
    font-size: 0.875rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 100;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 5rem;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-link, .nav-link-cta, .nav-link-logout {
        width: 90%;
        margin: 0.5rem auto;
        padding: 1rem;
        display: block;
    }

    .menu-toggle:checked ~ .nav-menu {
        left: 0;
    }

    .menu-toggle:checked ~ .hamburger .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .menu-toggle:checked ~ .hamburger .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle:checked ~ .hamburger .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    #scroll-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }

    .breadcrumb {
        font-size: 0.75rem;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .breadcrumb::-webkit-scrollbar {
        height: 4px;
    }

    .breadcrumb::-webkit-scrollbar-thumb {
        background-color: #D9BBA9;
        border-radius: 2px;
    }
}
