/* ===== Company Registration Page Styles ===== */

.creg-wrapper {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 50px 15px;
    background: #f0f4f8;
}

/* ---------- Card ---------- */
.creg-card {
    width: 100%;
    max-width: 720px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,.08);
    overflow: hidden;
}

/* ---------- Header ---------- */
.creg-header {
    background: linear-gradient(135deg, #196ddb 0%, #0c73f4 100%);
    padding: 34px 32px 28px;
    text-align: center;
}
.creg-header-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}
.creg-header-icon i {
    font-size: 24px;
    color: #fff;
}
.creg-header h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: #fff;
    margin: 0 0 4px;
}
.creg-header p {
    font-family: 'Poppins', sans-serif;
    font-size: .88rem;
    color: rgba(255,255,255,.75);
    margin: 0;
}

/* ---------- Body ---------- */
.creg-body {
    padding: 32px 32px 36px;
}

/* ---------- Alert ---------- */
.creg-body .alert-success {
    font-family: 'Poppins', sans-serif;
    font-size: .9rem;
    border-radius: 10px;
}

/* ---------- Section Divider ---------- */
.creg-section-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #196ddb;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8f0fe;
}

/* ---------- Form Controls ---------- */
.creg-field {
    margin-bottom: 18px;
}
.creg-field label {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: .85rem;
    color: #2d3748;
    margin-bottom: 6px;
    display: block;
}
.creg-field .form-control {
    font-family: 'Poppins', sans-serif;
    font-size: .92rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 11px 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
    background: #f8fafc;
    color: #1a202c;
    height: auto;
}
.creg-field .form-control:focus {
    border-color: #196ddb;
    box-shadow: 0 0 0 3px rgba(25,109,219,.12);
    background: #fff;
    outline: none;
}
.creg-field .form-control.is-invalid {
    border-color: #e53e3e;
}
.creg-field select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7c93' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.creg-field .invalid-feedback {
    font-family: 'Poppins', sans-serif;
    font-size: .8rem;
}

/* ---------- Terms ---------- */
.creg-terms {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}
.creg-terms input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: #196ddb;
    cursor: pointer;
    flex-shrink: 0;
}
.creg-terms span {
    font-family: 'Poppins', sans-serif;
    font-size: .85rem;
    color: #4a5568;
    line-height: 1.5;
}

/* ---------- Submit Button ---------- */
.creg-btn {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #196ddb 0%, #0c73f4 100%);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: .3px;
    cursor: pointer;
    transition: opacity .2s ease, transform .15s ease;
}
.creg-btn:hover {
    opacity: .92;
    transform: translateY(-1px);
}
.creg-btn:active {
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
    .creg-wrapper { padding: 30px 12px; }
    .creg-header { padding: 28px 20px 22px; }
    .creg-header h2 { font-size: 1.25rem; }
    .creg-body { padding: 24px 20px 28px; }
}
@media (max-width: 480px) {
    .creg-card { border-radius: 12px; }
    .creg-terms { align-items: flex-start; }
}
