

.register-container {
    display: flex;
    min-height: 100vh;
}

.register-hero {
    flex: 1;
    background: linear-gradient(135deg, #4361ee, #3a0ca3);
    color: white;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 600px;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

.register-form-container {
    flex: 1;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.register-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    width: 100%;
    max-width: 700px;
}

.register-header {
    text-align: center;
    margin-bottom: 2rem;
}

.register-header h2 {
    font-size: 1.8rem;
    color: #2b2d42;
    margin-bottom: 0.5rem;
}

.register-header p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.role-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.role-tab {
    background: none;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #495057;
    font-weight: 500;
}

.role-tab i {
    font-size: 1.2rem;
}

.role-tab.active {
    border-color: #4361ee;
    background-color: #4361ee;
    color: white;
}

.role-tab:not(.active):hover {
    border-color: #adb5bd;
}

.form-section {
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.2rem;
    color: #2b2d42;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group.full-width {
    grid-column: span 2;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #495057;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #4361ee;
    outline: none;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

.password-field {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
}

.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.upload-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border: 1px dashed #ced4da;
    border-radius: 6px;
    background-color: #f8f9fa;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-label:hover {
    border-color: #4361ee;
    color: #4361ee;
}

.form-hint {
    display: block;
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-check {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.form-check input {
    margin-right: 0.5rem;
}

.terms-link {
    color: #4361ee;
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: #4361ee;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    background-color: #3a0ca3;
}

.login-link {
    text-align: center;
    margin-top: 1.5rem;
    color: #6c757d;
}

.login-link a {
    color: #4361ee;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .register-container {
        flex-direction: column;
    }
    
    .register-hero {
        padding: 2rem 1rem;
    }
    
    .register-form-container {
        padding: 2rem 1rem;
    }
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .role-tabs {
        flex-direction: column;
    }
}
/* Success Modal Styles */
#successModal .modal-content {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

#successModal .modal-header {
    border-bottom: none;
    padding-bottom: 0;
    justify-content: center;
}

#successModal .modal-body {
    padding: 2rem;
    text-align: center;
}

#successModal .fa-check-circle {
    color: #28a745;
    animation: bounce 0.5s;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-20px);}
    60% {transform: translateY(-10px);}
}
