/* company-registration.css */
body {
    background-color: #F3F6FA;
    color: #243447;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Layout */
.registration-container {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

@media (min-width: 992px) {
    .registration-container {
        flex-direction: row;
    }
}

/* Left side - Branding & Intro */
.registration-sidebar {
    background: linear-gradient(145deg, #0b2233 0%, #124c5c 100%);
    color: #FFFFFF;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 0 0 100%;
}

@media (min-width: 992px) {
    .registration-sidebar {
        flex: 0 0 40%;
        padding: 50px 45px;
        position: sticky;
        top: 0;
        height: 100vh;
    }
}

.brand-logo {
    max-width: 220px;
    margin-bottom: 35px;
}

.sidebar-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 15px;
    line-height: 1.25;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.sidebar-title .highlight {
    color: #F5A15D;
}

.sidebar-desc {
    font-size: 1.1rem;
    color: #E2E8F0;
    margin-bottom: 30px;
    font-weight: 400;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.benefit-icon {
    color: #F5A15D;
    font-size: 1.4rem;
    margin-right: 12px;
    margin-top: 2px;
}

.benefit-text h4 {
    margin: 0 0 4px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #FFFFFF;
}

.benefit-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #cbd5e1;
}

/* Right side - Form Area */
.registration-main {
    flex: 1;
    padding: 30px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F3F6FA;
}

@media (min-width: 992px) {
    .registration-main {
        padding: 40px 30px;
    }
}

.form-wrapper {
    background: linear-gradient(135deg, #D5E8EF 0%, #E2EDF4 50%, #C9E0E9 100%);
    border: 1px solid #B5D1DE;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(16, 50, 74, 0.15);
    padding: 24px;
    max-width: 700px;
    width: 100%;
}

@media (max-width: 767px) {
    .form-wrapper {
        padding: 20px;
    }
}

.form-title {
    color: #10324A;
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 6px;
}

.form-subtitle {
    color: #475569;
    font-size: 0.95rem;
    margin-top: 0;
    margin-bottom: 14px;
}

.form-section {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(21, 88, 106, 0.1);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #15586A;
    margin-top: 0;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 8px;
    color: #F5A15D;
}

/* Form Controls */
.form-wrapper .form-group {
    margin-bottom: 10px;
}

.form-wrapper label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #334155 !important;
    margin-bottom: 6px;
    display: block;
}

.form-wrapper .form-control {
    height: auto;
    padding: 10px 14px;
    font-size: 0.95rem;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    color: #243447 !important;
    background-color: #FFFFFF !important;
    transition: all 0.2s ease-in-out;
}

.form-wrapper .form-control::-webkit-input-placeholder { color: #64748B !important; opacity: 1 !important; }
.form-wrapper .form-control::-moz-placeholder { color: #64748B !important; opacity: 1 !important; }
.form-wrapper .form-control:-ms-input-placeholder { color: #64748B !important; opacity: 1 !important; }
.form-wrapper .form-control::-ms-input-placeholder { color: #64748B !important; opacity: 1 !important; }
.form-wrapper .form-control::placeholder {
    color: #64748B !important;
    opacity: 1 !important;
}

.form-wrapper .form-control:focus {
    border-color: #15586A;
    box-shadow: 0 0 0 3px rgba(21, 88, 106, 0.15);
    outline: none;
}

.form-wrapper textarea.form-control {
    height: 80px;
    min-height: 80px;
    resize: vertical;
}

/* File Input Fix */
input[type="file"].form-control {
    padding: 7px 10px;
    line-height: 1.5;
    background-color: #FFFFFF;
    cursor: pointer;
}

input[type="file"]::file-selector-button {
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 5px 12px;
    margin-right: 10px;
    color: #334155;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

input[type="file"]::file-selector-button:hover {
    background-color: #e2e8f0;
}

/* Password wrapper */
.password-wrapper {
    position: relative;
}

.password-wrapper .fa-eye, 
.password-wrapper .bi-eye,
.password-wrapper .fa-eye-slash {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #64748B;
    font-size: 1.1rem;
    z-index: 10;
}

/* Submit Button */
.btn-submit {
    background: #F5A15D;
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 12px 25px;
    border-radius: 5px;
    border: none;
    width: 100%;
    transition: all 0.3s ease;
    margin-top: 12px;
    margin-bottom: 0;
    cursor: pointer;
}

.btn-submit:hover {
    background: #e08e4c;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(245, 161, 93, 0.25);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Alerts */
.alert {
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: none;
    font-size: 0.95rem;
}

.alert-success {
    background-color: #dcfce7;
    color: #166534;
    border-left: 4px solid #22c55e;
}

.alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

/* Custom Checkbox */
.form-wrapper .custom-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}

.form-wrapper .custom-checkbox-wrapper input[type="checkbox"] {
    margin: 0;
    width: 16px;
    height: 16px;
    accent-color: #15586A;
    cursor: pointer;
    flex-shrink: 0;
}

.form-wrapper .custom-checkbox-wrapper label {
    font-weight: 500;
    font-size: 0.9rem;
    color: #475569 !important;
    cursor: pointer;
    margin: 0;
    display: inline-block;
}

.form-wrapper .custom-checkbox-wrapper a {
    color: #15586A;
    text-decoration: none;
    font-weight: 600;
}

.form-wrapper .custom-checkbox-wrapper a:hover {
    text-decoration: underline;
}

/* Trust block */
.trust-block {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 5px;
    padding: 12px 15px;
    margin-bottom: 18px;
    font-size: 0.85rem;
    color: #475569;
    display: flex;
    align-items: flex-start;
    border-left: 3px solid #15586A;
}

.trust-block i {
    color: #15586A;
    font-size: 1.1rem;
    margin-right: 10px;
    margin-top: 1px;
}

/* Help blocks / validation */
.help-block {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 5px;
}
