/* ============================================
   COMPONENTS - Buttons, Cards, Forms, Modals
   Mobile-first design
   ============================================ */

/* ============================================
   DASHBOARD LOADING STATE
   ============================================ */
.dashboard-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    gap: 16px;
}

.dashboard-loading .loading-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #e5e7eb;
    border-top: 3px solid var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.dashboard-loading p {
    font-family: var(--font-secondary);
    font-size: 14px;
    color: #9ca3af;
    margin: 0;
}

.dashboard-loading.hidden {
    display: none;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
    width: 100%;
    padding: 16px 24px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    padding: 16px 24px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-outline {
    flex: 1;
    padding: 16px 24px;
    background: white;
    color: var(--color-text-primary);
    border: 1px solid var(--color-border-primary);
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.btn-danger {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.btn-danger-outline {
    background: transparent;
    color: #dc3545;
    border: 1px solid #dc3545;
    border-radius: 12px;
    padding: 16px 24px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.btn-full {
    width: 100%;
    margin-top: 24px;
}

/* ============================================
   FORM ELEMENTS
   ============================================ */
.input-group {
    position: relative;
    margin-bottom: 16px;
}

.input-group label {
    display: block;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}

.input-group i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-secondary);
    font-size: 18px;
    z-index: 2;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: none;
    border-bottom: 1px solid var(--color-border-primary);
    font-family: var(--font-primary);
    font-size: 15px;
    color: var(--color-text-primary);
    background: transparent;
}

.input-group input::placeholder {
    color: var(--color-text-placeholder);
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-bottom-color: var(--color-primary);
}

.form-input {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--color-border-light);
    font-family: var(--font-primary);
    font-size: 15px;
    color: var(--color-text-primary);
    background: white;
    border-radius: 12px;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.register-form {
    padding: 16px;
}

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

.register-form .input-group label {
    font-size: 13px;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}

.register-form .input-group input {
    padding: 14px 16px;
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    background: white;
}

/* ============================================
   MODALS - Bottom Sheet Style
   ============================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.modal.active {
    display: flex;
}

/* Regular centered modal */
.modal:not(.bottom-sheet).active {
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.5);
}

.modal:not(.bottom-sheet) .modal-content {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
}

/* Bottom Sheet Modal */
.modal.bottom-sheet {
    flex-direction: column;
    justify-content: flex-end;
}

.modal.bottom-sheet .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.modal.bottom-sheet .modal-content {
    position: relative;
    background: white;
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding-bottom: 24px;
    z-index: 1;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 480px) {
    .modal.bottom-sheet .modal-content {
        max-height: 90vh;
        padding-bottom: 20px;
    }
    
    .modal-header {
        padding: 14px 16px;
    }
    
    .modal-header h3 {
        font-size: 16px;
    }
}

.modal-handle {
    width: 40px;
    height: 4px;
    background: #E0E0E0;
    border-radius: 2px;
    margin: 12px auto 8px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.modal-header h3 {
    font-family: var(--font-primary);
    font-size: 17px;
    font-weight: 600;
    color: var(--color-text-primary);
}

.close-btn {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: 15px;
}

/* Modal Menu List */
.modal-menu-list {
    padding: 0 8px 16px;
}

.modal-menu-item {
    width: 100%;
    padding: 16px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-primary);
    font-size: 15px;
    color: var(--color-text-primary);
    border-radius: 8px;
}

.modal-menu-item:active {
    background: var(--color-bg-primary);
}

.modal-menu-item svg {
    flex-shrink: 0;
    color: var(--color-text-secondary);
}

.modal-menu-item.cancel {
    color: #dc3545;
}

.modal-menu-item.cancel svg {
    color: #dc3545;
}

/* Filter Form */
.filter-form {
    padding: 0 20px;
}

.filter-field {
    margin-bottom: 20px;
}

.filter-field label {
    display: block;
    font-family: var(--font-primary);
    font-size: 13px;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}

.filter-input {
    background: white;
    border: 1px solid var(--color-border-light);
    border-radius: 12px;
    padding: 16px;
}

.filter-input span {
    font-family: var(--font-primary);
    font-size: 15px;
    color: var(--color-text-primary);
}

.filter-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-bottom: 8px;
}

.filter-actions .btn-primary {
    flex: 1;
}

/* Modal Actions */
.modal-actions {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
}

.modal-actions .btn-secondary,
.modal-actions .btn-danger-outline {
    flex: 1;
}

.modal-actions .btn-primary,
.modal-actions .btn-danger {
    flex: 1;
}

/* Modal Footer */
.modal-footer {
    padding: 16px 20px 24px;
}

.modal-footer .btn-primary {
    width: 100%;
}

/* Modal Error */
.modal-error {
    margin: 0 20px 16px;
    padding: 12px 16px;
    background: #FEE2E2;
    border-radius: 12px;
}

.modal-error .error-title {
    display: block;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    color: #DC2626;
    margin-bottom: 4px;
}

.modal-error .error-desc {
    font-family: var(--font-secondary);
    font-size: 13px;
    color: #DC2626;
}

/* Modal Form */
.modal-form {
    padding: 0 20px 24px;
}

.modal-form-field {
    margin-bottom: 20px;
}

.modal-form-field label {
    display: block;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.modal-form-field input {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid var(--color-border-light);
    font-family: var(--font-primary);
    font-size: 15px;
    color: var(--color-text-primary);
    background: transparent;
}

.modal-form-field input::placeholder {
    color: var(--color-text-placeholder);
    text-transform: uppercase;
}

.modal-form-field input:focus {
    outline: none;
    border-bottom-color: var(--color-primary);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
}

.empty-state svg {
    margin-bottom: 16px;
}

.empty-state h4 {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.empty-state p {
    font-family: var(--font-secondary);
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* Invitation Details Modal */
.invitation-details-content {
    padding: 0 20px;
}

.detail-unit {
    font-family: var(--font-primary);
    font-size: 16px;
    color: var(--color-text-primary);
    margin-bottom: 16px;
}

.detail-unit strong {
    font-weight: 600;
}

.detail-datetime {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
}

.detail-date,
.detail-time {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-secondary);
    font-size: 13px;
    color: var(--color-text-secondary);
}

.detail-visitors h4 {
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 12px;
}

.visitors-list {
    margin-bottom: 16px;
}

.visitor-row {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border-light);
}

.visitor-row:last-child {
    border-bottom: none;
}

.visitor-row .visitor-initials {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-right: 12px;
    flex-shrink: 0;
}

.visitor-row .visitor-info {
    flex: 1;
}

.visitor-row .visitor-name {
    display: block;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 2px;
}

.visitor-row .visitor-email {
    font-family: var(--font-secondary);
    font-size: 13px;
    color: var(--color-text-secondary);
}

.visitor-menu-btn {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

/* Modal Actions Row */
.modal-actions-row {
    display: flex;
    gap: 12px;
    padding: 16px 20px 24px;
}

.btn-cancel-invite {
    flex: 1;
    padding: 16px;
    background: transparent;
    border: 1px solid #DC2626;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    color: #DC2626;
    cursor: pointer;
}

.modal-actions-row .btn-primary {
    flex: 1;
}

/* Confirm Cancellation Modal */
.confirm-content {
    text-align: center;
    padding: 24px 20px;
}

.confirm-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #DC2626;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.confirm-content p {
    font-family: var(--font-primary);
    font-size: 16px;
    color: var(--color-text-primary);
}

.btn-confirm-cancel {
    width: 100%;
    padding: 16px;
    background: #DC2626;
    color: white;
    border: none;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

/* Legacy Confirm Modal (keeping for compatibility) */
.modal-confirm {
    text-align: center;
    padding: 32px 24px;
}

.confirm-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.confirm-icon i {
    font-size: 32px;
    color: #dc3545;
}

.modal-confirm h3 {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.modal-confirm p {
    font-family: var(--font-secondary);
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

/* ============================================
   PLATE CODE MODAL
   ============================================ */
.plate-code-content {
    padding: 16px 16px 32px;
}

.modal-header-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
    padding-top: 20px;
    position: relative;
}

.modal-title {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0;
}

.modal-cancel-btn {
    background: none;
    border: none;
    font-family: var(--font-primary);
    font-size: 16px;
    color: var(--color-text-secondary);
    cursor: pointer;
    padding: 8px;
    position: absolute;
    right: 0;
}

/* Emirate Selector */
.emirate-selector {
    margin-bottom: 24px;
}

.emirate-label {
    display: block;
    font-family: var(--font-primary);
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}

.emirate-dropdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border-light);
    cursor: pointer;
}

.emirate-dropdown span {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text-primary);
}

.emirate-dropdown svg {
    color: var(--color-text-secondary);
}

/* Confirm Plate Button */
.btn-confirm-plate {
    width: 100%;
    margin-top: 24px;
}

/* Emirate List Modal */
.emirate-list-content {
    padding: 0 0 32px;
    max-height: 75vh;
}

.emirate-list {
    max-height: calc(75vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.emirate-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 16px 20px;
    background: none;
    border: none;
    border-bottom: 1px solid var(--color-border-light);
    cursor: pointer;
    text-align: left;
}

.emirate-option:last-child {
    border-bottom: none;
}

.emirate-option:active {
    background: var(--color-bg-primary);
}

.emirate-name {
    font-family: var(--font-primary);
    font-size: 14px;
    color: var(--color-text-secondary);
    min-width: 120px;
}

.emirate-code {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-primary);
}

/* ============================================
   ACCESS CARD DETAILS MODAL
   ============================================ */
.acd-modal-content {
    padding: 16px 16px 32px;
}

.acd-content {
    padding-top: 8px;
}

.acd-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(132, 204, 22, 0.15);
    color: #65A30D;
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 16px;
}

.acd-user-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.acd-user-info {
    flex: 1;
}

.acd-name {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}

.acd-location {
    font-family: var(--font-secondary);
    font-size: 14px;
    color: var(--color-text-secondary);
}

.acd-photo {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.acd-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.acd-actions {
    display: flex;
    gap: 12px;
}

.btn-acd-remove {
    flex: 1;
    padding: 16px;
    background: transparent;
    border: 1px solid #EF4444;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    color: #EF4444;
    cursor: pointer;
}

.btn-acd-remove:active {
    background: rgba(239, 68, 68, 0.1);
}

.btn-acd-edit {
    flex: 1;
    padding: 16px;
    background: var(--color-primary);
    border: none;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
}

.btn-acd-edit:active {
    transform: scale(0.98);
}

/* ============================================
   LEGACY CARD STYLES (for compatibility)
   ============================================ */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.card-title {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-primary);
}

.card-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.card-menu-btn {
    background: none;
    border: none;
    color: var(--color-text-secondary);
    cursor: pointer;
    padding: 4px;
}

.card-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 8px;
}

.card-status.regular {
    background: var(--color-primary-light);
    color: var(--color-primary);
}

.card-status.full-access {
    background: var(--color-primary);
    color: white;
}

.card-status.active {
    background: var(--color-primary);
    color: white;
}

.card-location {
    font-family: var(--font-secondary);
    font-size: 12px;
    color: var(--color-text-secondary);
    margin-bottom: 4px;
}

.card-time {
    font-family: var(--font-secondary);
    font-size: 12px;
    color: var(--color-text-secondary);
}

.card-plate {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 8px 0;
    font-family: var(--font-primary);
    font-weight: 600;
}

.plate-code {
    background: var(--color-primary);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
}

.plate-number {
    font-size: 14px;
    color: var(--color-text-primary);
}

.initials {
    font-weight: 600;
}

.count {
    color: var(--color-text-secondary);
    font-weight: 400;
}

/* Card Details in Modal */
.card-details-content {
    padding: 24px;
    text-align: center;
}

.card-status-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
}

.card-status-badge.full-access {
    background: #E8F5E9;
    color: #2E7D32;
}

.card-details-name {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.card-details-location {
    font-family: var(--font-secondary);
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

.card-details-photo {
    margin: 20px 0;
}

.card-details-photo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

/* ============================================
   RENT CONFIRMATION MODAL
   ============================================ */
#rent-confirm-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

#rent-confirm-modal.active {
    display: flex;
}

.rent-confirm-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.rent-confirm-card {
    position: relative;
    z-index: 2;
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 340px;
    padding: 32px 24px 24px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: rentModalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes rentModalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.rent-confirm-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.rent-confirm-title {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0 0 4px;
}

.rent-confirm-subtitle {
    font-family: var(--font-secondary);
    font-size: 14px;
    color: var(--color-text-secondary);
    margin: 0 0 24px;
}

.rent-confirm-details {
    background: var(--color-bg-primary);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.rent-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}

.rent-detail-label {
    font-family: var(--font-secondary);
    font-size: 14px;
    color: var(--color-text-secondary);
}

.rent-detail-value {
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-primary);
}

.rent-detail-price {
    color: var(--color-primary);
}

.rent-detail-divider {
    height: 1px;
    background: var(--color-border-light);
    margin: 10px 0;
}

.rent-confirm-actions {
    display: flex;
    gap: 10px;
}

.rent-confirm-btn-cancel {
    flex: 1;
    padding: 14px 16px;
    background: var(--color-bg-primary);
    color: var(--color-text-secondary);
    border: none;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.rent-confirm-btn-cancel:active {
    background: var(--color-border-light);
}

.rent-confirm-btn-confirm {
    flex: 1.5;
    padding: 14px 16px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s;
}

.rent-confirm-btn-confirm:active {
    transform: scale(0.97);
}

/* ============================================
   CUSTOM ALERT MODAL
   ============================================ */
#custom-alert-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3500;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

#custom-alert-modal.active {
    display: flex;
}

.custom-alert-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.custom-alert-card {
    position: relative;
    z-index: 2;
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 300px;
    padding: 32px 24px 24px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: rentModalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-alert-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #F59E0B;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.custom-alert-icon.error {
    background: #EF4444;
}

.custom-alert-title {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0 0 6px;
}

.custom-alert-message {
    font-family: var(--font-secondary);
    font-size: 14px;
    color: var(--color-text-secondary);
    margin: 0 0 24px;
    line-height: 1.4;
}

.custom-alert-btn {
    width: 100%;
    padding: 14px 16px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.custom-alert-btn:active {
    transform: scale(0.97);
}
