/* Session Manager Styles */

/* General Session Manager Styles */
.session-manager {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Override SweetAlert2 styles for session modals */
.swal2-popup.session-warning {
    border-radius: 15px;
    background: linear-gradient(145deg, #1a1f2e, #2d3748);
    border: 2px solid #4a5568;
    color: white;
}

.swal2-popup.session-warning .swal2-title {
    color: #f7fafc;
    font-size: 22px;
}

.swal2-popup.session-warning .swal2-html-container {
    color: #e2e8f0;
}

.swal2-popup.session-warning .swal2-confirm {
    background: linear-gradient(45deg, #e53e3e, #c53030);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.swal2-popup.session-warning .swal2-confirm:hover {
    background: linear-gradient(45deg, #c53030, #9c2626);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 48, 48, 0.4);
}

.swal2-popup.session-warning .swal2-cancel {
    background: linear-gradient(45deg, #3182ce, #2c5282);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

 

/* Responsive design */
@media (max-width: 768px) {
    .swal2-popup.session-warning {
        margin: 20px;
        width: calc(100% - 40px);
        max-width: none;
    }
    
    .swal2-popup.session-warning .swal2-title {
        font-size: 18px;
    }
    
    .swal2-popup.session-warning .swal2-html-container {
        font-size: 14px;
    }
    
    .swal2-popup.session-warning .swal2-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .swal2-popup.session-warning .swal2-confirm,
    .swal2-popup.session-warning .swal2-cancel {
        width: 100%;
        margin: 0;
    }
}
.multiple-login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.multiple-login-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.multiple-login-content {
    position: relative;
    background: linear-gradient(145deg, #1a1f2e, #2d3748);
    border: 2px solid #4a5568;
    border-radius: 15px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
}

.multiple-login-header {
    margin-bottom: 20px;
}

.multiple-login-header i {
    font-size: 48px;
    color: #f56565;
    margin-bottom: 15px;
    display: block;
}

.multiple-login-header h4 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #f7fafc;
}

.multiple-login-body {
    margin: 20px 0;
    text-align: left;
}

.multiple-login-body p {
    margin: 10px 0;
    font-size: 16px;
    line-height: 1.5;
}

.multiple-login-body strong {
    color: #63b3ed;
    font-weight: bold;
}

.multiple-login-body .text-warning {
    color: #fbb742;
    font-weight: 500;
    background: rgba(251, 183, 66, 0.1);
    padding: 10px;
    border-radius: 8px;
    border-left: 4px solid #fbb742;
}

.multiple-login-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.multiple-login-actions button {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 200px;
    justify-content: center;
}

.btn-logout-old {
    background: linear-gradient(45deg, #48bb78, #38a169);
    color: white;
}

.btn-logout-old:hover {
    background: linear-gradient(45deg, #38a169, #2f855a);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(72, 187, 120, 0.4);
}

.btn-keep-old {
    background: linear-gradient(45deg, #4299e1, #3182ce);
    color: white;
}

.btn-keep-old:hover {
    background: linear-gradient(45deg, #3182ce, #2c5282);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 153, 225, 0.4);
}

/* Session Notifications */
.session-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999998;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: slideInRight 0.4s ease-out;
}

.session-notification-content {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    font-weight: 500;
}

.session-notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.session-notification-close:hover {
    opacity: 1;
}

.session-success {
    background: linear-gradient(45deg, #48bb78, #38a169);
}

.session-warning {
    background: linear-gradient(45deg, #ed8936, #dd6b20);
}

.session-info {
    background: linear-gradient(45deg, #4299e1, #3182ce);
}

.session-error {
    background: linear-gradient(45deg, #f56565, #e53e3e);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .multiple-login-content {
        padding: 20px;
        max-width: 95%;
    }
    
    .multiple-login-actions {
        flex-direction: column;
    }
    
    .multiple-login-actions button {
        min-width: auto;
        width: 100%;
    }
    
    .session-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}
