body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(rgba(244, 246, 248, 0.85), rgba(244, 246, 248, 0.85)), url('https://images.unsplash.com/photo-1590226375013-f6607f4337ae?q=80&w=1932&auto=format&fit=crop') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.top-bar {
    background-color: #e9ecef;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.top-bar-logo {
    height: 40px;
    flex-shrink: 0; 
}

.top-bar-title {
    color: #212529;
    font-weight: 700;
    font-size: 1.5rem;
    text-align: center;
}

.main-container {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 3rem 1rem;
}

.register-card {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    padding: 3rem;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-floating > .form-control {
    height: calc(3.5rem + 2px);
    padding: 1rem 0.75rem;
}
.form-floating > label {
    padding: 1rem 0.75rem;
}
.form-control {
    background-color: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 12px;
    transition: all 0.3s ease;
}
.form-control:focus {
    background-color: #ffffff;
    border: 1px solid #6c63ff;
    box-shadow: 0 0 15px rgba(108, 99, 255, 0.1);
}

.btn-submit {
    background-color: #495057;
    border: none;
    border-radius: 12px;
    padding: 0.8rem;
    font-weight: 600;
    color: white;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.btn-submit:hover {
    background-color: #343a40;
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0,0,0,0.2);
    color: white;
}
.btn-submit.loading .btn-text {
    display: none;
}
.btn-submit.loading .spinner-border {
    display: inline-block;
}
.spinner-border {
    display: none;
    width: 1.2rem;
    height: 1.2rem;
}

.form-check-label {
    font-size: 0.9rem;
    color: #333;
    cursor: pointer;
}

.validation-message-field {
    font-size: 0.85rem;
}

@media (max-width: 576px) {
    .top-bar-title {
        font-size: 1.1rem;
    }
    .top-bar-logo {
        height: 32px;
    }
} 