/**
 * Registration page styles for Juno Cassandra
 */

/* Color Variables - Match main theme */
:root {
    --primary-dark: #1e3a5f;
    --primary-medium: #2c5282;
    --primary-light: #3182ce;
    --accent-blue: #4299e1;
    --dark-background: #2c3e50;
    --light-background: #f7fafc;
}

/* Page Container */
.register-container {
    min-height: 100vh;
    background: #f4f5f7;
    display: flex;
    align-items: center;
    padding: 1.5rem 1rem;
}

/* Registration Card */
.register-card {
    background: white;
    border-radius: 0.25rem;
    padding: 1.5rem;
    border: 1px solid #d0d5dd;
    box-shadow: none;
}

/* Brand Name */
.brand-name {
    color: var(--primary-dark);
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Form Elements */
.form-label {
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.form-control {
    padding: 0.375rem 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid #d0d5dd;
}

/* Submit Button */
.btn-primary {
    background-color: var(--primary-light);
    border: none;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-primary:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

/* Links */
a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Alert Messages */
.alert {
    border-radius: 6px;
    margin-bottom: 20px;
}

.alert-info {
    background-color: #e7f3ff;
    border-color: #b3d9ff;
    color: #004085;
}

.alert-info i {
    margin-right: 8px;
}

/* Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Login Prompt - Outside card styling */
.login-prompt {
    color: #495057;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 0;
}

.login-link {
    color: var(--primary-light) !important;
    font-weight: 600;
    text-decoration: underline;
}

.login-link:hover {
    color: var(--primary-dark) !important;
    text-decoration: underline;
}

/* Validation States */
.was-validated .form-control:invalid {
    border-color: #dc3545;
}

.was-validated .form-control:valid {
    border-color: #28a745;
}

.invalid-feedback {
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .register-card {
        padding: 30px 20px;
    }

    .brand-name {
        font-size: 1.5rem;
    }
}
