/* static/css/auth.css */

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0f0f0f;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

button {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

input {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.auth-container {
    background: #303030;
    padding: 10px 40px 40px 40px;
    border-radius: 12px;
    box-shadow: 0 0 50px 10px #102D9C;
    width: 100%;
    max-width: 400px;
    text-align: left;
}

.auth-container h2 {
    margin-bottom: 20px;
    color: #e0e0e0;
    font-size: 28px;
}

.auth-container p {
    color: #e0e0e0;
}

.auth-container img {
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
}

.auth-container form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-container label {
    text-align: left;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 6px;
    display: block;
}

.auth-container input {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border 0.3s;
    width: 100%;
    box-sizing: border-box;
}

.auth-container input:focus {
    outline: none;
    border-color: #102D9C;
    box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.3);
}

.auth-container button {
    background: #102D9C;
    color: #e0e0e0;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}

.auth-container button:hover {
    background: #102DBF;
}

.author {
    color: #6f6f6f;
    text-align: center;
}



.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 350px;
    width: 100%;
}

.toast-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-radius: 6px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-left: 5px solid transparent;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast-box.animate-in {
    animation: slideInToast 0.3s ease-in-out forwards;
}

.toast-box.error {
    background-color: #2c1616;
    border-left-color: #ff4a4a;
    border: 1px solid rgba(255, 74, 74, 0.2);
}

.toast-box.success {
    background-color: #122216;
    border-left-color: #2ec4b6;
    border: 1px solid rgba(46, 196, 182, 0.2);
}

.toast-box.warning {
    background-color: #2c2214;
    border-left-color: #ff9f1c;
    border: 1px solid rgba(255, 159, 28, 0.2);
}

.toast-box.info {
    background-color: #16222c;
    border-left-color: #00b4d8;
    border: 1px solid rgba(0, 180, 216, 0.2);
}

.toast-message {
    flex: 1;
    padding-right: 12px;
    line-height: 1.4;
}

.toast-close-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    transition: color 0.15s ease;
}

.toast-close-btn:hover {
    color: #ffffff;
}

@keyframes slideInToast {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}