﻿/* Top Logo Bar */

.login-logo {
    width: 100%;
    background: #000;
    text-align: center;
    padding: 15px 0;
}

    .login-logo img {
        max-width: 180px;
        height: auto;
    }

/* Login container */

.login-container {
    display: flex;
    justify-content: center;
    padding: 40px 15px;
}

/* Login box */

.auth-box {
    width: 100%;
    max-width: 400px;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}

/* Title */

.auth-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

/* Mobile responsive */

@media (max-width:576px) {

    .login-logo img {
        max-width: 140px;
    }

    .auth-box {
        padding: 20px;
    }
}

@media (min-width:768px) {
    .login-logo {
        display: none;
    }
}
/* Center Toast Container */
.toast-container-center {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .toast-container-center .toast {
        pointer-events: auto;
        min-width: 350px;
        max-width: 500px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.2);
        border: none;
        animation: slideInDown 0.3s ease;
    }

    /* Center Toast with backdrop */
    .toast-container-center.with-backdrop {
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(3px);
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        transform: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

/* Animations */
@keyframes slideInDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }

    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

/* Toast variations */
.toast-center-lg {
    min-width: 450px !important;
}

.toast-center-sm {
    min-width: 300px !important;
}

.toast-border-top {
    border-top: 4px solid;
}

.toast-no-header .toast-header {
    display: none;
}

.toast-body-centered {
    text-align: center;
}

.confirmation-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

    .confirmation-actions .btn {
        min-width: 120px;
        padding: 10px 20px;
        border-radius: 8px;
        font-weight: 500;
        transition: all 0.2s;
    }

        .confirmation-actions .btn:active {
            transform: scale(0.95);
        }

/* Countdown timer */
.countdown-timer {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 15px auto;
    border: 3px solid #0d6efd;
    color: #0d6efd;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}
/* Page container */

.page-container {
    padding: 40px;
    display: flex;
    justify-content: center;
}
    .page-container .auth-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }

    /* Card style same as login */

    .page-container .auth-box {
        width: 100%;
        max-width: 100%;
        padding: 30px;
        border: 1px solid #ddd;
        border-radius: 8px;
        background: #fff;
    }

    /* Title */

    .page-container .auth-title {
        font-size: 22px;
        font-weight: 600;
        margin-bottom: 20px;
    }

/* Table styling */

.table {
    margin-bottom: 0;
}

/* Mobile responsive */

@media (max-width:768px) {

    .page-container {
        padding: 20px;
    }

        .page-container .auth-box {
            padding: 20px;
        }
}
