/* Dante Custom Authentication Styles */

.dante-auth-container {
    max-width: 500px;
    margin: 60px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.dante-auth-box {
    background: #fff;
    border: 3px solid #000;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.dante-auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.dante-auth-header h2 {
    font-size: 32px;
    font-weight: bold;
    color: #000;
    margin: 0 0 10px 0;
}

.dante-auth-subtitle {
    color: #666;
    font-size: 15px;
    margin: 0;
}

/* Form Styles */
.dante-auth-form {
    width: 100%;
}

.dante-form-group {
    margin-bottom: 20px;
}

.dante-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.dante-form-row.dante-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.dante-form-group label {
    display: block;
    font-weight: bold;
    color: #000;
    margin-bottom: 8px;
    font-size: 14px;
}

.dante-form-group input[type="text"],
.dante-form-group input[type="email"],
.dante-form-group input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.dante-form-group input[type="text"]:focus,
.dante-form-group input[type="email"]:focus,
.dante-form-group input[type="password"]:focus {
    border-color: #c0392b;
    outline: none;
}

.dante-form-group input[readonly] {
    background: #f5f5f5;
    cursor: not-allowed;
}

.dante-form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

/* Checkbox */
.dante-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.dante-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.dante-checkbox span {
    user-select: none;
}

/* Links */
.dante-forgot-link {
    color: #c0392b;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.dante-forgot-link:hover {
    color: #a93226;
    text-decoration: underline;
}

/* Messages */
.dante-form-message {
    margin-bottom: 20px;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    display: none;
}

.dante-form-message.success {
    background: #d4edda;
    border: 2px solid #28a745;
    color: #155724;
    display: block;
}

.dante-form-message.error {
    background: #f8d7da;
    border: 2px solid #dc3545;
    color: #721c24;
    display: block;
}

.dante-form-message p {
    margin: 0;
}

/* Button */
.dante-btn {
    width: 100%;
    padding: 14px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.dante-btn-primary {
    background: #c0392b;
    color: #fff;
}

.dante-btn-primary:hover {
    background: #a93226;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(192, 57, 43, 0.3);
}

.dante-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
}

.dante-btn .btn-loader {
    display: none;
}

.dante-btn.loading .btn-text {
    display: none;
}

.dante-btn.loading .btn-loader {
    display: inline;
}

/* Footer */
.dante-auth-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

.dante-auth-footer p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.dante-auth-footer a {
    color: #c0392b;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.dante-auth-footer a:hover {
    color: #a93226;
    text-decoration: underline;
}

/* Already logged in message */
.dante-auth-message {
    max-width: 500px;
    margin: 60px auto;
    padding: 20px;
    background: #d1ecf1;
    border: 2px solid #0c5460;
    color: #0c5460;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .dante-auth-container {
        margin: 30px auto;
        padding: 15px;
    }

    .dante-auth-box {
        padding: 25px;
    }

    .dante-auth-header h2 {
        font-size: 26px;
    }

    .dante-form-row {
        grid-template-columns: 1fr;
    }

    .dante-form-row.dante-form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .dante-auth-box {
        padding: 20px;
    }

    .dante-auth-header h2 {
        font-size: 24px;
    }
}
