/* ===============================
   Account Page
=============================== */
.mk-account-container {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 25px;
    direction: rtl;
    text-align: right;
}

/* ---- Title ---- */
.mk-account-title {
    text-align: right;
    font-size: 24px;
    color: #3c6b53;
    font-weight: 700;
    margin-bottom: 35px;
}

/* ---- Form Box ---- */
.mk-account-form {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

/* ---- Grid Layout ---- */
.mk-account-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 25px;
}

/* ---- Each Field ---- */
.mk-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mk-field label {
    color: #555;
    font-size: 14px;
    font-weight: 500;
}

/* ---- Inputs ---- */
.mk-field input,
.mk-field select {
    width: 100%;
    height: 44px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 15px;
    box-sizing: border-box;
    background-color: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

/* ---- Input Focus ---- */
.mk-field input:focus,
.mk-field select:focus {
    border-color: #3c6b53;
    outline: none;
    box-shadow: 0 0 0 2px rgba(60, 107, 83, 0.15);
}

/* ---- Button ---- */
.mk-btn-primary {
    display: block;
    width: 100%;
    background: #1f7a63;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.mk-btn-primary:hover {
    background: #239173;
}

/* ---- Date Input ---- */
input[type="date"] {
    direction: rtl;
    text-align: right;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0 12px;
    height: 44px;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(35%) sepia(19%) saturate(553%) hue-rotate(110deg);
    cursor: pointer;
    margin-left: 5px;
}

/* ---- Logout Button ---- */
.mk-btn-logout {
    background: #a77a3b;
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.mk-btn-logout:hover {
    background: #8c672d;
}

/* ===============================
   📱 MOBILE (max-width: 992px)
=============================== */
@media (max-width: 992px) {
    .mk-account-container {
        margin: 120px auto 60px;
        padding: 0 30px;
        max-width: 100%;
    }

    /* Title */
    .mk-account-title {
        font-size: 45px !important;
        margin-bottom: 50px !important;
        text-align: right !important;
        color: #333;
        font-weight: 700;
    }

    /* Header */
    .mk-account-header {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 25px !important;
        margin-bottom: 55px !important;
    }

    .mk-btn-logout {
        padding: 16px 32px !important;
        font-size: 26px !important;
        font-weight: 700;
        flex-shrink: 0;
    }

    /* Form - Better shadow and border */
    .mk-account-form {
        background: #ffffff !important;
        border: 2px solid #e0e0e0 !important;
        border-radius: 20px !important;
        padding: 50px 40px !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
    }

    /* Grid */
    .mk-account-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 45px !important;
        margin-bottom: 50px !important;
    }

    /* Each field */
    .mk-field {
        width: 100% !important;
        gap: 18px !important;
    }

    /* Labels - Darker, bolder */
    .mk-field label {
        font-size: 28px !important;
        font-weight: 700 !important;
        color: #333 !important;
        text-align: right !important;
    }

    /* Inputs - BETTER STYLING */
    .mk-field input,
    .mk-field select {
        height: 80px !important;
        font-size: 28px !important;
        border: 2.5px solid #c0c0c0 !important;
        border-radius: 16px !important;
        padding: 0 28px !important;
        background: #ffffff !important;
        color: #333 !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
        -webkit-appearance: none !important;
        appearance: none !important;
        transition: all 0.3s ease !important;
    }

    /* Input focus - Green border */
    .mk-field input:focus,
    .mk-field select:focus {
        border-color: #1f7a63 !important;
        outline: none !important;
        box-shadow: 0 0 0 4px rgba(31, 122, 99, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }

    /* Placeholder text - Better color */
    .mk-field input::placeholder {
        color: #999 !important;
        font-size: 26px !important;
        opacity: 1 !important;
    }

    /* Select dropdown - Better arrow */
    .mk-field select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: left 22px center !important;
        background-size: 28px !important;
        padding-left: 60px !important;
    }

    /* Save Button - Better styling */
    .mk-btn-primary {
        height: 80px !important;
        font-size: 30px !important;
        border-radius: 16px !important;
        margin-top: 35px !important;
        font-weight: 700 !important;
        background: #1f7a63 !important;
        border: none !important;
        box-shadow: 0 4px 12px rgba(31, 122, 99, 0.3) !important;
        transition: all 0.3s ease !important;
    }

    .mk-btn-primary:active {
        transform: translateY(2px) !important;
        box-shadow: 0 2px 6px rgba(31, 122, 99, 0.3) !important;
    }
}