body {
    font-family: 'Arial', sans-serif;
    background: #e0e5ec;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.auth-container {
    width: 100%;
    max-width: 400px;
    background: #e0e5ec;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 8px 8px 20px #a3b1c6, -8px -8px 20px #ffffff;
    box-sizing: border-box;
    text-align: center;
    position: relative;
}

h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

input[type="text"], input[type="password"], input[type="email"], input[type="submit"] {
    width: 100%;
    padding: 14px;
    margin: 12px 0;
    background: #e0e5ec;
    border: 1px solid #b8c2cc;
    border-radius: 12px;
    font-size: 16px;
    box-shadow: inset 4px 4px 6px rgba(180, 180, 180, 0.5), inset -4px -4px 6px rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    outline: none;
}

input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus {
    border-color: #4e73df;
    box-shadow: inset 4px 4px 6px rgba(180, 180, 180, 0.5), inset -4px -4px 6px rgba(255, 255, 255, 0.7), 0 0 8px rgba(78, 115, 223, 0.7);
}

input[type="submit"], button[type="button"] {
    width: 100%;
    padding: 14px;
    background-color: #4e73df;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 4px 4px 8px rgba(180, 180, 180, 0.5), -4px -4px 8px rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

input[type="submit"]:hover, button[type="button"]:hover {
    background-color: #3954cc;
}

input[type="submit"]:active, button[type="button"]:active {
    background-color: #2e4399;
}

#error-section, .success {
    font-size: 14px;
    padding: 10px;
    margin-top: 20px;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
}

.success {
    background-color: #d4edda;
    color: #155724;
}

.register-link, .login-link {
    text-align: center;
    margin-top: 15px;
}

.register-link a, .login-link a {
    color: #4e73df;
    text-decoration: none;
    font-size: 16px;
}

.register-link a:hover, .login-link a:hover {
    text-decoration: underline;
}

.input-container {
    display: flex;
    align-items: center;
    width: 100%;
}

input[type="email"] {
    width: 70%;
    margin-right: 10px;
}

button[type="button"] {
    width: 30%;
    background-color: #4e73df;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 12px;
    cursor: pointer;
    padding: 12px;
    transition: all 0.3s ease;
    box-shadow: 4px 4px 8px rgba(180, 180, 180, 0.5), -4px -4px 8px rgba(255, 255, 255, 0.7);
}

button[type="button"]:hover {
    background-color: #3954cc;
}

button[type="button"]:active {
    background-color: #2e4399;
}

#verification-code-section {
    display: none;
    width: 100%;
}

@media (max-width: 768px) {
    .auth-container {
        padding: 20px;
    }

    h2 {
        font-size: 20px;
    }

    input[type="text"], input[type="password"], input[type="email"], input[type="submit"], button[type="button"] {
        width: 100%;
        margin-bottom: 12px;
    }

    .input-container {
        flex-direction: column;
        align-items: stretch;
    }

    button[type="button"] {
        width: 100%;
        margin-top: 10px;
        font-size: 16px;
    }

    #verification-code-section {
        display: block;
    }
}

.custom-popup {
    border-radius: 20px;
    background: #e0e5ec;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
}

.custom-title {
    font-size: 18px;
    font-weight: bold;
    color: #4e73df;
}

.custom-content {
    font-size: 16px;
    color: #333;
}

.custom-icon {
    color: #4e73df;
}

.swal2-popup {
    padding: 20px !important;
}

.swal2-actions {
    display: flex;
    justify-content: center;
    width: 100%;
}

.swal2-button {
    font-size: 16px;
    padding: 10px 24px;
    margin: 0 5px;
    border-radius: 12px;
    background-color: #4e73df;
    color: white;
    border: none;
    box-shadow: 4px 4px 8px rgba(180, 180, 180, 0.5), -4px -4px 8px rgba(255, 255, 255, 0.7);
}

.swal2-button:hover {
    background-color: #3954cc;
}

.swal2-button:active {
    background-color: #2e4399;
}
