﻿/* Client Layout-specific styles */

.swal2-tickets-login, .swal2-appointments-login {
    border-radius: 15px;
}

    .swal2-tickets-login .swal2-title, .swal2-appointments-login .swal2-title {
        color: #2c3e50;
        font-weight: 600;
    }

    .swal2-tickets-login .alert-info, .swal2-appointments-login .alert-info {
        background-color: #e3f2fd;
        border-color: #bbdefb;
        color: #1565c0;
    }

    .swal2-appointments-login .alert-info {
        background-color: #e8f5e8;
        border-color: #c3e6c3;
        color: #155724;
    }

        .swal2-tickets-login .alert-info h6, .swal2-appointments-login .alert-info h6 {
            color: #0d47a1;
            font-weight: 600;
        }

        .swal2-appointments-login .alert-info h6 {
            color: #0a4e0a;
        }

/* NEW: Custom button spacing and positioning */
.custom-swal-actions {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 10rem !important; /* 13rem gap between buttons */
    margin-top: 2rem !important;
    padding: 0 1rem !important;
    flex-wrap: wrap; /* Prevents overflow on small screens */
}

/* Ensure buttons maintain their positioning */
.custom-cancel-btn {
    order: 1; /* Left position */
    margin: 0 !important;
}

.custom-confirm-btn {
    order: 2; /* Right position */
    margin: 0 !important;
}

/* Responsive design - reduce gap on smaller screens */
@media (max-width: 768px) {
    .custom-swal-actions {
        gap: 2rem !important; /* Smaller gap on mobile */
        flex-direction: column-reverse !important; /* Stack buttons on mobile */
    }

    .custom-cancel-btn,
    .custom-confirm-btn {
        width: 100% !important;
        margin: 0.5rem 0 !important;
        order: unset !important;
    }
}

@media (max-width: 480px) {
    .custom-swal-actions {
        gap: 1rem !important;
    }
}

/* Enhanced button styles */
.custom-confirm-btn {
    min-width: 150px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,123,255,0.3);
    transition: all 0.3s ease;
}

    .custom-confirm-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0,123,255,0.4);
    }

.custom-cancel-btn {
    min-width: 120px;
    transition: all 0.3s ease;
}

    .custom-cancel-btn:hover {
        background-color: #6c757d;
        color: white;
        transform: translateY(-1px);
    }
