.register-section {
    padding: 50px 30px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: calc(100vh - 200px);
}

.register-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

form {
    max-width: 1000px;
    margin: auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

form h4 {
    margin: 30px 0 20px;
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    padding-bottom: 10px;
    border-bottom: 3px solid #3498db;
    display: flex;
    align-items: center;
    gap: 10px;
}

form h4:first-of-type {
    margin-top: 0;
}

form input {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

form input:focus {
    outline: none;
    border-color: #3498db;
    background: white;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Password Wrapper */
.password-wrapper {
    position: relative;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    width: 100%;
    padding: 14px 45px 14px 16px;
    margin-bottom: 0;
}

.password-toggle {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    background: none;
    border: none;
    color: #7f8c8d;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 0 10px 10px 0;
    font-size: 16px;
    z-index: 10;
    width: 45px;
    height: 100%;
}

.password-toggle:hover {
    color: #3498db;
    background: rgba(52, 152, 219, 0.1);
}

.password-toggle:active {
    transform: scale(0.95);
}

.password-wrapper input:focus ~ .password-toggle {
    color: #3498db;
}

.password-toggle i {
    display: flex;
    align-items: center;
    justify-content: center;
}

form button {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: not-allowed;
    margin: 30px 0 20px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(149, 165, 166, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0.7;
}

form button:not(:disabled) {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    cursor: pointer;
    opacity: 1;
    box-shadow: 0 6px 25px rgba(44, 62, 80, 0.5);
}

form button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

form button:hover:not(:disabled)::before {
    width: 300px;
    height: 300px;
}

form button:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(26, 37, 47, 0.6);
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
}

form button:active:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

form button:disabled {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: 0 4px 15px rgba(149, 165, 166, 0.3);
    animation: none;
}

form button:not(:disabled) {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 6px 25px rgba(44, 62, 80, 0.5);
    }
    50% {
        box-shadow: 0 6px 30px rgba(26, 37, 47, 0.7);
    }
}

form button span {
    position: relative;
    z-index: 1;
}

form button i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    font-size: 16px;
}

form button:hover:not(:disabled) i.fa-arrow-right {
    transform: translateX(5px);
}

form button:hover:not(:disabled) i.fa-paper-plane {
    transform: translateY(-3px) rotate(15deg);
}

.note {
    font-size: 12px;
    color: #555;
    margin-top: 10px;
}

/* =========================
   FORM GRID LAYOUT
========================= */

.form-grid {
    display: grid;
    gap: 15px;
    margin-bottom: 15px;
}

.form-grid.two-col {
    grid-template-columns: 1fr 1fr;
}

.form-grid.one-col {
    grid-template-columns: 1fr;
}

/* inputs */
.form-grid input {
    width: 100%;
    padding: 12px;
    border: 1px solid #999;
    border-radius: 4px;
    font-size: 14px;
}

/* responsive */
@media (max-width: 768px) {
    .form-grid.two-col {
        grid-template-columns: 1fr;
    }
}

/* =========================
   UPLOAD BOX STYLE
========================= */

.upload-box {
    margin-bottom: 20px;
}

.upload-box label {
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
}

.drop-area {
    border: 2px dashed #bbb;
    background: #fff;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    border-radius: 6px;
}

.drop-area span {
    font-size: 28px;
    display: block;
    margin-bottom: 8px;
}

.drop-area p {
    margin: 0;
    font-weight: 500;
}

.drop-area small {
    color: #666;
}

/* Hover effect */
.drop-area:hover {
    border-color: #7bb8da;
    background: #f9fdff;
}

/* =========================
   VERIFICATION NOTE
========================= */

.verification-note {
    background: #f9dcdc;
    color: #7a0000;
    padding: 12px;
    font-size: 13px;
    margin-bottom: 20px;
    border-radius: 4px;
}

/* =========================
   PASSWORD INPUTS
========================= */

.form-grid.two-col input {
    padding: 12px;
}

/* =========================
   TERMS AND CONDITIONS
========================= */


.terms-row {
    display: flex;
    align-items: left;   /* vertical alignment */
    gap: 10px;             /* space between checkbox & text */
    margin: 20px 0;
}

.terms-row input[type="checkbox"] {
    margin: 0;             /* remove browser default margin */
    width: 16px;
    height: 16px;
}

.terms-row label {
    margin: 0;
    line-height: 1;        /* prevents wrapping */
    white-space: nowrap;  /* keeps text in ONE LINE */
}


/* =========================
   Submit Button Disabled State
========================= */

button:disabled {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    cursor: not-allowed;
    opacity: 0.7;
    margin-bottom: 20px;
    box-shadow: none;
}

select {
    width: 100%;
    padding: 12px;
    border: 1px solid #999;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
}


.form-grid input {
    width: 100%;
    padding: 12px;
    border: 1px solid #999;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
}

/* Make select look exactly like input */
.form-input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #999;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    background-color: #fff;
    color: #777; /* placeholder color */
    appearance: none;        /* remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Dark text when option selected */
.form-input:valid {
    color: #000;
}

/* Custom dropdown arrow */
.form-input {
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
}

button:disabled {
    background: #d7e3ea;
    cursor: not-allowed;
    opacity: 0.6;
}

button:not(:disabled) {
    background: #bcdcec;
    cursor: pointer;
}

/* =========================
   PHONE GRID LAYOUT
========================= */

.form-grid.phone-grid {
    grid-template-columns: 150px 1fr;
    gap: 10px;
}

.country-code-select {
    min-width: 150px;
    font-size: 14px;
}

.phone-input {
    flex: 1;
}

@media (max-width: 768px) {
    .form-grid.phone-grid {
        grid-template-columns: 1fr;
    }
    
    .country-code-select {
        width: 100%;
    }
}