﻿/* Register Page Styles */

.register-container {
    width: 100%;
}

.register-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.register-subtitle {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.register-form {
    width: 100%;
}

.form-label {
    font-weight: 500 !important;
    color: #334155;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 0.2rem rgba(34, 197, 94, 0.15);
    outline: 0;
}

.form-control::placeholder {
    color: #94a3b8;
}

.btn-register {
    background-color: #22c55e;
    border-color: #22c55e;
    color: white;
    padding: 0.625rem 1rem;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: background-color 0.15s ease-in-out;
}

.btn-register:hover {
    background-color: #16a34a;
    border-color: #16a34a;
    color: white;
}

.btn-register:focus {
    box-shadow: 0 0 0 0.2rem rgba(34, 197, 94, 0.25);
}

/* Divider Styles */
.divider-container {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
}

.divider-line {
    flex: 1;
    height: 1px;
    background-color: #e2e8f0;
}

.divider-text {
    padding: 0 1rem;
    color: #64748b;
    font-size: 0.875rem;
    white-space: nowrap;
}

/* External Login Buttons */
.external-login-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-external-login {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    background-color: white;
    color: #334155;
    font-weight: 500;
    font-size: 0.875rem;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
    cursor: pointer;
}

.btn-external-login:hover:not(:disabled) {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.btn-external-login:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-external-login img,
.btn-external-login svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Validation Messages */
.text-danger.small {
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .register-title {
        font-size: 1.5rem;
    }

    .divider-text {
        font-size: 0.75rem;
    }
}
