.product-card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

.product-image-wrapper {
    background: #f8fafc;
    padding: 20px;
    text-align: center;
}

.product-card img {
    max-height: 200px;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.1);
}

.btn-add-cart {
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ????? ??? ?????? */
.table thead th {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 15px;
}

.table tbody td {
    padding: 15px;
    vertical-align: middle;
}

/* ????? ??? ????? ?????? ??? ???? */
.table-hover tbody tr:hover {
    background-color: #f8faff;
    transition: 0.2s;
}

/* ????? ??????? */
.btn-sm {
    border-radius: 8px;
    padding: 5px 12px;
}

.card {
    border-radius: 12px;
}

/* ????? ????? ????? */
.badge-status {
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #f59e0b;
}

.status-approved {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.status-shipped {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid #3b82f6;
}

.status-cancelled {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* ????? ??? ?????? */
#mytable thead th {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 15px;
}

#mytable tbody td {
    color: #475569;
    padding: 12px 15px;
}


/* ????? ???? ?????? ???? ?????? */
.product-img-table {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 10px;
    border: 1px solid #eee;
}

/* ????? ????? */
.price-tag {
    font-weight: 700;
    color: #2563eb;
    background: #eff6ff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.9rem;
}

/* ????? ??????? */
.category-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

/* ????? ???? ???????? */
.badge-status-active {
    background-color: #d1fae5;
    color: #065f46;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
}

.badge-status-locked {
    background-color: #fee2e2;
    color: #991b1b;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
}

/* ?????? ???????? (Avatar) */
.avatar-sm {
    height: 35px;
    width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-soft-primary {
    background-color: rgba(37, 99, 235, 0.1);
}

.avatar-title {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* ????? ????? ?????? */
.btn-action {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

/* ????? ???? ???? ??????? */
.form-control:focus, .form-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.1);
}

.input-group-text {
    border-right: none;
    background-color: #f8fafc;
}

.form-control {
    border-left: none;
}

/* ????? ?????? */
.image-preview-container {
    background-color: #f8fafc;
    padding: 15px;
    border-radius: 10px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ??????? ???? ??????? */
.input-group-text {
    border-right: none;
    color: #6c757d;
}

.form-control, .form-select {
    border-left: none;
    padding: 0.6rem 1rem;
}

    .form-control:focus, .form-select:focus {
        border-color: #3b82f6;
        box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.05);
    }

/* ????? ?????? ?????? */
.image-preview-wrapper {
    background-color: #f8fafc;
    border: 2px dashed #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

    .image-preview-wrapper:hover {
        border-color: #3b82f6;
        background-color: #f1f5f9;
    }

/* ????? Badge ?????? ???? ???? */
.bg-soft-info {
    background-color: rgba(13, 202, 240, 0.1);
}

/* ????? ???? ??????? ????? ????? ?????? (Admin Style) */
.form-control-sm, .input-group-text {
    border-radius: 6px;
}

/* ????? ???????? */
.list-group-item {
    border-left: none;
    border-right: none;
    transition: 0.2s;
}

    .list-group-item:hover {
        background-color: #f8fafc;
    }
/* ????? ???? ??????? */
.input-group-text {
    border-radius: 8px 0 0 8px; /* ????? ????? ?????? (?? ?????? ??? ?????) */
}

.form-control {
    border-radius: 8px;
    padding: 0.6rem 1rem;
}

    .form-control:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.05);
    }

/* ?? ????? */
.btn-success {
    background-color: #10b981;
    border: none;
    border-radius: 8px;
    transition: 0.3s;
}

    .btn-success:hover {
        background-color: #059669;
        transform: translateY(-1px);
    }
/* ??? ????? ?????? ???? ?????? */
.bg-soft-danger {
    background-color: rgba(220, 53, 69, 0.05) !important;
    border-bottom: 1px solid rgba(220, 53, 69, 0.1);
}

/* ????? ?????? ???? ?????? */
.text-start {
    text-align: right !important; /* ???? ?? ???????? ?????? ??? ??? ?????? ??????? */
}

/* ?? ????? */
.btn-danger {
    background-color: #dc3545;
    border: none;
    border-radius: 8px;
    padding: 10px 25px;
    transition: 0.3s;
}

    .btn-danger:hover {
        background-color: #bb2d3b;
        transform: scale(1.02);
    }
/* ????? ??? ???? ???????? */
.form-control, .input-group-text {
    border-radius: 8px;
}

.input-group-text {
    border-color: #dee2e6;
}

.form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.05);
}

/* ?? ????? ??????? */
.btn-primary {
    background-color: #2563eb;
    border: none;
    transition: 0.3s;
}

    .btn-primary:hover {
        background-color: #1d4ed8;
        transform: translateY(-1px);
    }


/* ==========================================================================
   AUTHENTICATION PAGES v2 (Split-Screen Premium)
   ========================================================================== */

.auth-split-container {
    display: flex;
    min-height: 100vh;
    background: #fff;
    font-family: 'Cairo', sans-serif;
}

.auth-image-side {
    flex: 1.2;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: none; /* Hidden on mobile */
}

@media (min-width: 992px) {
    .auth-image-side {
        display: block;
    }
}

.auth-image-side::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(37, 99, 235, 0.3) 100%);
}

.auth-image-content {
    position: absolute;
    bottom: 10%;
    left: 10%;
    color: white;
    max-width: 80%;
    z-index: 2;
    animation: fadeUp 1s ease-out;
}

.auth-form-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #fdfdfd;
}

.auth-v2-card {
    width: 100%;
    max-width: 480px;
    animation: fadeUp 0.8s ease-out backwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-v2-card h2 {
    font-weight: 800;
    font-size: 2.5rem;
    color: #0f172a;
    margin-bottom: 1rem;
}

.auth-v2-card .auth-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2.5rem;
}

.form-v2-group {
    margin-bottom: 1.5rem;
}

.form-v2-group label {
    display: block;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-v2-control {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border-radius: 14px;
    border: 1.5px solid #e2e8f0;
    background-color: #f8fafc;
    transition: all 0.25s ease;
    font-size: 1rem;
}

.form-v2-control:focus {
    outline: none;
    background-color: #fff;
    border-color: #2563eb;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.1), 0 4px 6px -2px rgba(37, 99, 235, 0.05);
    transform: translateY(-2px);
}

.auth-submit-btn {
    width: 100%;
    background: #2563eb;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.auth-submit-btn:hover {
    background: #1d4ed8;
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.3);
    transform: scale(1.02);
}

.auth-v2-footer {
    margin-top: 2rem;
    text-align: center;
    color: #64748b;
}

.auth-v2-footer a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 700;
}

.auth-v2-footer a:hover {
    text-decoration: underline;
}

.social-placeholder {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.social-btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-icon-btn {
    width: 50px;
    height: 50px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 1.25rem;
    transition: all 0.2s;
}

.social-icon-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
    transform: translateY(-3px);
}

/* Password Toggle Styles */
.password-toggle-wrapper {
    position: relative;
}

.password-toggle-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #64748b;
    z-index: 10;
    font-size: 1.2rem;
    transition: color 0.2s;
}

.password-toggle-icon:hover {
    color: #2563eb;
}

.form-v2-control.password-input-with-toggle {
    padding-left: 45px;
}
