﻿/* =========================================================
   NEUMORPHIC UI - MERGED STYLESHEET
   Sections:
   1. Global Reset & Base
   2. Login Page
   3. Orders Page
   4. Register Page
   5. Shared Neumorphic GridView
   6. Shared Action Buttons
   7. Accessibility
   ========================================================= */


/* =========================================================
   1. GLOBAL RESET & BASE
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'mohammad art 1', Georgia, 'Times New Roman', Times, serif;
    background: #e0e5ec;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    line-height: 1.6;
}

/* Shared neumorphic icon circle (login, register, success) */
.neu-icon {
    width: 130px;
    height: 130px;
    margin: 0 auto 24px;
    background: #e0e5ec;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 8px 8px 20px #bec3cf, -8px -8px 20px #ffffff;
    transition: all 0.3s ease;
    color: #6c7293;
}

    .neu-icon:hover {
        box-shadow: 4px 4px 10px #bec3cf, -4px -4px 10px #ffffff, inset 4px 4px 10px #bec3cf, inset -4px -4px 10px #ffffff;
    }

    .neu-icon svg {
        width: 100%;
        height: 100%;
    }

/* Shared neumorphic button */
.neu-button {
    width: 100%;
    background: #e0e5ec;
    border: none;
    border-radius: 15px;
    padding: 18px 32px;
    color: #3d4468;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    margin-bottom: 30px;
    box-shadow: 8px 8px 20px #bec3cf, -8px -8px 20px #ffffff;
    transition: all 0.3s ease;
    overflow: hidden;
    font-family: inherit;
}

    .neu-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.5s ease;
    }

    .neu-button:hover {
        transform: translateY(-2px);
        box-shadow: 12px 12px 30px #bec3cf, -12px -12px 30px #ffffff;
    }

        .neu-button:hover::before {
            left: 100%;
        }

    .neu-button:active {
        transform: translateY(0);
        box-shadow: inset 4px 4px 10px #bec3cf, inset -4px -4px 10px #ffffff;
    }

    /* Loading spinner on the button */
    .neu-button.loading {
        color: transparent;
        pointer-events: none;
    }

        .neu-button.loading::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 20px;
            height: 20px;
            margin: -10px 0 0 -10px;
            border: 3px solid #bec3cf;
            border-top-color: #6c7293;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Shared neumorphic checkbox */
.neu-checkbox {
    width: 22px;
    height: 22px;
    background: #e0e5ec;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 3px 3px 8px #bec3cf, -3px -3px 8px #ffffff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .neu-checkbox svg {
        width: 14px;
        height: 14px;
        color: #00c896;
        opacity: 0;
        transform: scale(0);
        transition: all 0.3s ease;
    }


/* =========================================================
   2. LOGIN PAGE
   ========================================================= */

.login-container {
    width: 100%;
    max-width: 420px;
}

.login-card {
    background: #e0e5ec;
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: 20px 20px 60px #bec3cf, -20px -20px 60px #ffffff;
    position: relative;
    transition: all 0.3s ease;
}

    .login-card:hover {
        transform: translateY(-5px);
    }

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.icon-inner {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c7293;
}

    .icon-inner svg {
        width: 100%;
        height: 100%;
    }

.login-header h2 {
    color: #3d4468;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.login-header p {
    color: #9499b7;
    font-size: 15px;
    font-weight: 400;
}

/* Neumorphic Input Styles (login - RTL) */
.form-group {
    margin-bottom: 28px;
    position: relative;
}

.neu-input {
    position: relative;
    background: #e0e5ec;
    border-radius: 15px;
    box-shadow: inset 8px 8px 16px #bec3cf, inset -8px -8px 16px #ffffff;
    transition: all 0.3s ease;
    direction: rtl;
}

    .neu-input:focus-within {
        box-shadow: inset 4px 4px 8px #bec3cf, inset -4px -4px 8px #ffffff;
    }

    .neu-input .asp-input {
        width: 100%;
        background: transparent;
        border: none;
        padding: 20px 24px;
        padding-right: 50px;
        color: #3d4468;
        font-size: 16px;
        font-weight: 500;
        outline: none;
        transition: all 0.3s ease;
        font-family: inherit;
        text-align: right;
        direction: rtl;
    }

        .neu-input .asp-input::placeholder {
            color: transparent;
        }

    .neu-input label {
        position: absolute;
        right: 50px;
        left: auto;
        top: 50%;
        transform: translateY(-50%);
        color: #9499b7;
        font-size: 16px;
        font-weight: 400;
        pointer-events: none;
        transition: all 0.3s ease;
        text-align: right;
    }

    .neu-input .asp-input:focus + label,
    .neu-input .asp-input:not(:placeholder-shown) + label {
        top: 8px;
        font-size: 12px;
        color: #6c7293;
        transform: translateY(0);
    }

/* Icon on the right (RTL) */
.input-icon {
    position: absolute;
    right: 20px;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #9499b7;
    transition: all 0.3s ease;
}

    .input-icon svg {
        width: 100%;
        height: 100%;
    }

.neu-input:focus-within .input-icon {
    color: #6c7293;
}

/* Password Toggle - left side in RTL */
.password-group {
    padding-left: 50px;
    padding-right: 0;
}

.neu-toggle {
    position: absolute;
    left: 15px;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    background: #e0e5ec;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9499b7;
    box-shadow: 4px 4px 10px #bec3cf, -4px -4px 10px #ffffff;
    transition: all 0.3s ease;
}

    .neu-toggle:hover {
        color: #6c7293;
    }

    .neu-toggle:active {
        box-shadow: inset 2px 2px 5px #bec3cf, inset -2px -2px 5px #ffffff;
    }

    .neu-toggle svg {
        width: 18px;
        height: 18px;
    }

.eye-closed {
    display: none;
}

.neu-toggle.show-password .eye-open {
    display: none;
}

.neu-toggle.show-password .eye-closed {
    display: block;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    flex-wrap: wrap;
    gap: 16px;
}

.remember-wrapper {
    display: flex;
    align-items: center;
    cursor: pointer;
}

    .remember-wrapper input[type="checkbox"].asp-checkbox {
        display: none;
    }

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    color: #6c7293;
    font-size: 14px;
    font-weight: 500;
}

.remember-wrapper input[type="checkbox"].asp-checkbox:checked + .checkbox-label .neu-checkbox {
    box-shadow: inset 2px 2px 5px #bec3cf, inset -2px -2px 5px #ffffff;
}

    .remember-wrapper input[type="checkbox"].asp-checkbox:checked + .checkbox-label .neu-checkbox svg {
        opacity: 1;
        transform: scale(1);
    }

.forgot-link {
    color: #6c7293;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .forgot-link:hover {
        color: #3d4468;
    }

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
    gap: 16px;
}

.divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, #bec3cf, transparent);
}

.divider span {
    color: #9499b7;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Social Login */
.social-login {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
}

.neu-social {
    width: 50px;
    height: 50px;
    background: #e0e5ec;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c7293;
    box-shadow: 6px 6px 15px #bec3cf, -6px -6px 15px #ffffff;
    transition: all 0.3s ease;
}

    .neu-social:hover {
        transform: translateY(-2px);
        box-shadow: 8px 8px 20px #bec3cf, -8px -8px 20px #ffffff;
    }

    .neu-social:active {
        transform: translateY(0);
        box-shadow: inset 3px 3px 8px #bec3cf, inset -3px -3px 8px #ffffff;
    }

    .neu-social svg {
        width: 22px;
        height: 22px;
    }

/* Signup Link */
.signup-link {
    text-align: center;
}

    .signup-link p {
        color: #9499b7;
        font-size: 14px;
    }

    .signup-link a {
        color: #6c7293;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.3s ease;
    }

        .signup-link a:hover {
            color: #3d4468;
        }

/* Error States - right aligned (RTL) */
.error-message {
    color: #ff3b5c;
    font-size: 12px;
    font-weight: 500;
    margin-top: 8px;
    margin-right: 20px;
    margin-left: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    text-align: right;
}

    .error-message.show {
        opacity: 1;
        transform: translateY(0);
    }

.form-group.error .neu-input {
    box-shadow: inset 8px 8px 16px #ffb8c4, inset -8px -8px 16px #ffffff, 0 0 0 2px #ff3b5c;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

    .success-message.show {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }

    .success-message .neu-icon {
        background: #e0e5ec;
        color: #00c896;
        margin-bottom: 20px;
    }

    .success-message h3 {
        color: #3d4468;
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .success-message p {
        color: #9499b7;
        font-size: 14px;
    }


/* =========================================================
   3. ORDERS PAGE
   ========================================================= */

.orders-card {
    background: #e0e5ec;
    border-radius: 30px;
    padding: 40px;
    width: 100%;
    max-width: 750px;
    box-shadow: 20px 20px 60px #bec3cf, -20px -20px 60px #ffffff;
    position: relative;
}

.orders-header {
    text-align: center;
    margin-bottom: 25px;
}

    .orders-header .neu-icon {
        width: 120px;
        height: 120px;
        margin: 0 auto 20px;
    }
.logo-container {
    width: 130px;
    height: 130px;
    margin: 0 auto 24px;
    background: #e0e5ec;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 8px 8px 20px #bec3cf, -8px -8px 20px #ffffff;
    transition: all 0.3s ease;
    color: #6c7293;
}

    .logo-container img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 50%;
    }

.title-box {
    background-color: #6e7784;
    color: white;
    padding: 10px 40px;
    border-radius: 8px;
    display: inline-block;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
}

.info-bar {
    background: #ffffff;
    border-radius: 8px;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    margin-top:1px;
    box-shadow: 4px 4px 10px #bec3cf, -4px -4px 10px #ffffff;
    font-weight: bold;
    color: #3d4468;
    font-size: 16px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
    justify-content: space-between;
}

.form-group-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 200px;
}

    .form-group-inline label {
        color: #3d4468;
        font-weight: 600;
        font-size: 15px;
        white-space: nowrap;
    }

.neu-input-box {
    background: #e0e5ec;
    border-radius: 12px;
    box-shadow: inset 5px 5px 10px #bec3cf, inset -5px -5px 10px #ffffff;
    padding: 8px 15px;
    width: 100%;
    border: none;
    outline: none;
    color: #3d4468;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    transition: all 0.3s ease;
}

    .neu-input-box:focus {
        box-shadow: inset 3px 3px 6px #bec3cf, inset -3px -3px 6px #ffffff, 0 0 0 2px #6c7293;
    }

.w-small {
    width: 100px;
}

.w-medium {
    width: 150px;
}

.w-large {
    width: 250px;
}

/* Radio Buttons styled as Pills */
.radio-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    color: #3d4468;
    font-size: 14px;
    font-weight: 500;
}

    .radio-label input[type="radio"] {
        appearance: none;
        -webkit-appearance: none;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: #e0e5ec;
        box-shadow: inset 2px 2px 5px #bec3cf, inset -2px -2px 5px #ffffff;
        outline: none;
        cursor: pointer;
        position: relative;
        transition: all 0.2s;
    }

        .radio-label input[type="radio"]:checked {
            background: #e0e5ec;
            box-shadow: 2px 2px 5px #bec3cf, -2px -2px 5px #ffffff;
        }

            .radio-label input[type="radio"]:checked::after {
                content: '';
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                width: 8px;
                height: 8px;
                border-radius: 50%;
                background: #6c7293;
            }

.disclaimer {
    font-size: 13px;
    color: #3d4468;
    text-align: center;
    margin: 30px 0;
    line-height: 1.6;
    font-weight: 500;
}

/* Submit Button (blue gradient) */
.submit-btn {
    background: linear-gradient(135deg, #5b7cfa, #3b5bdb);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    box-shadow: 6px 6px 15px #bec3cf, -6px -6px 15px #ffffff;
    transition: all 0.3s ease;
    font-family: inherit;
}

    .submit-btn:hover {
        transform: translateY(-3px);
        box-shadow: 8px 8px 20px #bec3cf, -8px -8px 20px #ffffff;
    }

    .submit-btn:active {
        transform: translateY(0);
        box-shadow: inset 4px 4px 10px rgba(0, 0, 0, 0.2);
    }


/* =========================================================
   4. REGISTER PAGE
   ========================================================= */

.register-card {
    background: #e0e5ec;
    border-radius: 30px;
    padding: 50px 40px;
    max-width: 600px;
    box-shadow: 20px 20px 60px #bec3cf, -20px -20px 60px #ffffff;
    position: relative;
}

.register-header {
    text-align: center;
    margin-bottom: 35px;
}

    .register-header .neu-icon {
        width: 120px;
        height: 120px;
        margin: 0 auto 20px;
    }

        .register-header .neu-icon svg {
            width: 30px;
            height: 30px;
        }

    .register-header h2 {
        color: #3d4468;
        font-size: 2rem;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .register-header p {
        color: #9499b7;
        font-size: 15px;
    }

/* Register input (LTR variant) */
.register-card .form-group {
    margin-bottom: 10px;
    position: relative;
}

.form-group.full-width {
    grid-column: span 2;
}

.register-card .neu-input {
    position: relative;
    background: #e0e5ec;
    border-radius: 15px;
    box-shadow: inset 6px 6px 12px #bec3cf, inset -6px -6px 12px #ffffff;
    transition: all 0.3s ease;
    padding-right: 25px;
    direction: ltr;
}

    .register-card .neu-input:focus-within {
        box-shadow: inset 4px 4px 8px #bec3cf, inset -4px -4px 8px #ffffff, 0 0 0 2px #6c7293;
    }

    .register-card .neu-input .asp-input {
        width: 100%;
        background: transparent;
        border: none;
        padding: 16px 20px;
        padding-left: 50px;
        color: #3d4468;
        font-size: 15px;
        font-weight: 500;
        outline: none;
        font-family: inherit;
        box-sizing: border-box;
    }

        .register-card .neu-input .asp-input::placeholder {
            color: transparent;
        }

    .register-card .neu-input label {
        position: absolute;
        left: 50px;
        top: 50%;
        transform: translateY(-50%);
        color: #9499b7;
        font-size: 15px;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .register-card .neu-input .asp-input:focus + label,
    .register-card .neu-input .asp-input:not(:placeholder-shown) + label {
        top: 8px;
        font-size: 11px;
        color: #6c7293;
        transform: translateY(0);
    }

.register-card .input-icon {
    position: absolute;
    right: 18px;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #9499b7;
    transition: all 0.3s ease;
}

    .register-card .input-icon svg {
        width: 100%;
        height: 100%;
    }

.register-card .neu-input:focus-within .input-icon {
    color: #6c7293;
}

/* Password toggle - right side (register LTR) */
.register-card .password-group {
    padding-right: 45px;
    padding-left: 0;
}

.register-card .neu-toggle {
    position: absolute;
    right: 12px;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    background: #e0e5ec;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9499b7;
    box-shadow: 3px 3px 6px #bec3cf, -3px -3px 6px #ffffff;
}

    .register-card .neu-toggle svg {
        width: 16px;
        height: 16px;
    }

/* Terms Checkbox */
.terms-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

    .terms-group input[type="checkbox"] {
        display: none;
    }

    .terms-group label {
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        color: #6c7293;
        font-size: 14px;
    }

    .terms-group input[type="checkbox"]:checked + label .neu-checkbox {
        box-shadow: inset 2px 2px 5px #bec3cf, inset -2px -2px 5px #ffffff;
    }

        .terms-group input[type="checkbox"]:checked + label .neu-checkbox svg {
            opacity: 1;
            transform: scale(1);
        }

/* Login Link */
.login-link {
    text-align: center;
    font-size: 14px;
    color: #9499b7;
}

    .login-link a {
        color: #6c7293;
        font-weight: 600;
        text-decoration: none;
    }

        .login-link a:hover {
            color: #3d4468;
        }

/* Register error styles */
.register-card .error-message {
    color: #ff3b5c;
    font-size: 12px;
    font-weight: 500;
    margin-top: 5px;
    margin-left: 15px;
    margin-right: 0;
    display: none;
    opacity: 1;
    transform: none;
    text-align: left;
}

    .register-card .error-message.show {
        display: block;
    }

.register-card .form-group.error .neu-input {
    box-shadow: inset 6px 6px 12px #ffb8c4, inset -6px -6px 12px #ffffff, 0 0 0 2px #ff3b5c;
}

/* =========================================================
   5. SHARED NEUMORPHIC GRIDVIEW
   ========================================================= */

.neu-grid {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    margin-top: 5px;
}

    .neu-grid th {
        background-color: #d1d9e6;
        color: #3d4468;
        font-weight: 600;
        padding: 5px;
        text-align: center;
        border-radius: 8px;
        box-shadow: inset 2px 2px 5px #bec3cf, inset -2px -2px 5px #ffffff;
    }

    .neu-grid td {
        background-color: #e0e5ec;
        color: #3d4468;
        padding: 5px;
        text-align: right;
        box-shadow: 5px 5px 10px #bec3cf, -5px -5px 10px #ffffff;
    }

    .neu-grid tr td:first-child {
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
    }

    .neu-grid tr td:last-child {
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
    }

    .neu-grid td input[type="text"] {
        width: 90%;
        background: #e0e5ec;
        border: none;
        border-radius: 6px;
        padding: 8px;
        box-shadow: inset 3px 3px 6px #bec3cf, inset -3px -3px 6px #ffffff;
        color: #3d4468;
        font-family: inherit;
    }



/* =========================================================
   6. SHARED ACTION BUTTONS
   ========================================================= */

.btn-grid-action {
    background: #e0e5ec;
    color: #3d4468;
    border: none;
    border-radius: 8px;
    padding: 8px 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 3px 3px 6px #bec3cf, -3px -3px 6px #ffffff;
    transition: all 0.2s;
    font-family: inherit;
    font-size: 13px;
    margin: 0 2px;
}

    .btn-grid-action:hover {
        box-shadow: 4px 4px 8px #bec3cf, -4px -4px 8px #ffffff;
    }

    .btn-grid-action:active {
        box-shadow: inset 3px 3px 6px #bec3cf, inset -3px -3px 6px #ffffff;
    }


/* =========================================================
   7. RESPONSIVE
   ========================================================= */

/* Login mobile */
@media (max-width: 480px) {
    body {
        padding: 16px;
    }

    .login-card {
        padding: 35px 25px;
        border-radius: 20px;
    }

    .login-header h2 {
        font-size: 1.75rem;
    }

    .neu-input .asp-input {
        padding: 18px 50px 18px 20px;
    }

    .neu-input label {
        right: 50px;
        left: auto;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* Orders mobile */
@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        align-items: stretch;
    }

    .form-group-inline {
        min-width: 100%;
    }

    .w-small, .w-medium, .w-large {
        width: 100%;
    }

    .info-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .radio-group {
        flex-wrap: wrap;
        justify-content: center;
    }

    .orders-card {
        padding: 20px;
    }
}

/* Register mobile */
@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .register-card {
        padding: 30px 20px;
    }

    .register-header h2 {
        font-size: 1.6rem;
    }
}
.btn-grid-delete {
    color: #b00020;
}

    .btn-grid-delete:hover {
        background: #ffe5e8;
    }

/* =========================================================
   8. ACCESSIBILITY
   ========================================================= */

:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}