﻿/* Register Page Specific Styles */

.register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f5f5f5;
    padding: 20px;
}

.register-form {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 30px;
    width: 500px;
}

.register-form .logo {
    font-size: 24px;
    font-weight: bold;
    color: #0066cc;
    margin-bottom: 20px;
    text-align: left;
}

.register-form h2 {
    margin-bottom: 10px;
    font-size: 20px;
}

.register-form p {
    margin-bottom: 20px;
    color: #666;
}

.register-form .form-group {
    text-align: left;
}

.register-form .form-group input,
.register-form .form-group select {
    width: 100%;
    box-sizing: border-box;
}

/* Password input with toggle button */
.input-group {
    position: relative;
}

.input-group .password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
}

/* Ensure date selectors are aligned */
.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-row .form-group select {
    width: 100%;
    box-sizing: border-box;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-row .form-group {
        margin-bottom: 15px;
    }
}

.register-form .btn {
    width: 100%;
    margin-top: 20px;
}

.register-form .login-link {
    margin-top: 20px;
}

.register-form .login-link a {
    color: #0066cc;
    text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .register-form {
        width: 100%;
        max-width: 400px;
    }
}