/* TALENT NETWORK SECTION */

.talent-network-section {
    min-height: 100vh;
    display: flex;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

/* Pattern Background */
.talent-pattern-bg {
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(circle at 100% 0%, var(--accent-orange) 0%, transparent 40%),
        radial-gradient(circle at 0% 100%, var(--accent-blue) 0%, transparent 40%);
    position: relative;
    color: var(--text-color);
}

.talent-pattern-overlay {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    position: absolute;
    inset: 0;
    opacity: 0.3;
}

/* Form Grid */
.talent-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 2rem;
}

/* Form Input Styles */
.talent-input-container {
    position: relative;
    margin-bottom: 2.5rem;
}

/* Mobile: Single column with equal spacing */
@media (max-width: 767px) {
    .talent-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .talent-input-container {
        margin-bottom: 2rem !important;
    }
}

.talent-input-field {
    width: 100%;
    border: none;
    border-bottom: 2px solid var(--border-color);
    padding: 0.5rem 0;
    font-size: 1.125rem;
    font-weight: 500;
    background: transparent;
    outline: none;
    transition: border-color 0.3s ease;
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
}

.talent-input-field:focus {
    border-bottom-color: var(--accent-blue);
}

.talent-input-label {
    position: absolute;
    left: 0;
    top: 0.5rem;
    font-size: 1.125rem;
    color: var(--text-secondary);
    pointer-events: none;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.talent-input-field:focus ~ .talent-input-label,
.talent-input-field:not(:placeholder-shown) ~ .talent-input-label {
    top: -1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Custom Checkbox */
.talent-checkbox {
    display: none;
}

.talent-checkbox-label {
    position: relative;
    padding-left: 2rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    display: block;
    font-family: 'Montserrat', sans-serif;
}

.talent-checkbox-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.15rem;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.talent-checkbox:checked + .talent-checkbox-label::before {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-blue) 100%);
    border-color: var(--accent-orange);
    box-shadow: 0 4px 12px rgba(255, 146, 1, 0.3);
}

.talent-checkbox-label::after {
    content: '✓';
    position: absolute;
    left: 0.3rem;
    top: -0.05rem;
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
    opacity: 0;
    transform: scale(0) rotate(-45deg);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.talent-checkbox:checked + .talent-checkbox-label::after {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* Submit Button */
.talent-submit-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
    background: var(--text-color);
    color: var(--bg-color);
    font-weight: 700;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 25px 50px -12px rgba(255, 146, 1, 0.1);
}

.talent-submit-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.talent-submit-btn:hover::after {
    left: 100%;
}

.talent-submit-btn:hover {
    opacity: 0.9;
}

/* Custom Alert */
.talent-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border: 3px solid var(--accent-orange);
    padding: 2rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
    z-index: 10000;
    animation: popIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-family: 'Montserrat', sans-serif;
    min-width: 400px;
    text-align: center;
}

.talent-alert.success {
    border-color: var(--accent-blue);
}

@keyframes popIn {
    from {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* Small mobile (320-480px) */
@media (max-width: 480px) {
    .talent-network-section {
        flex-direction: column;
        min-height: auto;
    }
    .talent-pattern-bg {
        min-height: 300px;
        padding: 2rem 1rem;
    }
    .talent-form-side {
        padding: 2rem 1rem;
    }
    .talent-input-field {
        font-size: 1rem;
    }
    .talent-input-label {
        font-size: 1rem;
    }
    .talent-input-container {
        margin-bottom: 2rem;
    }
    .talent-alert {
        min-width: 90%;
        max-width: 90%;
        padding: 1.5rem 1.75rem;
    }
}

/* Medium mobile (481-600px) */
@media (min-width: 481px) and (max-width: 600px) {
    .talent-network-section {
        flex-direction: column;
    }
    .talent-pattern-bg {
        min-height: 350px;
        padding: 2.5rem 1.5rem;
    }
    .talent-form-side {
        padding: 2.5rem 1.5rem;
    }
    .talent-input-container {
        margin-bottom: 2rem;
    }
}

/* Large mobile (601-767px) */
@media (min-width: 601px) and (max-width: 767px) {
    .talent-network-section {
        flex-direction: column;
    }
    .talent-pattern-bg {
        min-height: 400px;
        padding: 3rem 2rem;
    }
    .talent-form-side {
        padding: 3rem 2rem;
    }
    .talent-input-container {
        margin-bottom: 2rem;
    }
}

/* Small tablets (768-900px) */
@media (min-width: 768px) and (max-width: 900px) {
    .talent-network-section {
        flex-direction: row;
    }
    .talent-pattern-bg {
        width: 40%;
        padding: 3rem 2rem;
    }
    .talent-form-side {
        width: 60%;
        padding: 3rem 2.5rem;
    }
}

/* Medium tablets (901-1024px) */
@media (min-width: 901px) and (max-width: 1024px) {
    .talent-pattern-bg {
        width: 42%;
        padding: 3.5rem 2.5rem;
    }
    .talent-form-side {
        width: 58%;
        padding: 3.5rem 3rem;
    }
}

/* Large tablets (1025-1199px) */
@media (min-width: 1025px) and (max-width: 1199px) {
    .talent-pattern-bg {
        width: 42%;
        padding: 4rem 3rem;
    }
    .talent-form-side {
        width: 58%;
        padding: 4rem 3.5rem;
    }
}

/* Small laptops (1200-1439px) */
@media (min-width: 1200px) and (max-width: 1439px) {
    .talent-pattern-bg {
        width: 42%;
        padding: 4rem 3rem;
    }
    .talent-form-side {
        width: 58%;
        padding: 4rem 4rem;
    }
}

/* Medium laptops (1440-1679px) */
@media (min-width: 1440px) and (max-width: 1679px) {
    .talent-pattern-bg {
        width: 42%;
        padding: 5rem 4rem;
    }
    .talent-form-side {
        width: 58%;
        padding: 5rem 5rem;
    }
}

/* Large laptops (1680-1919px) */
@media (min-width: 1680px) and (max-width: 1919px) {
    .talent-pattern-bg {
        width: 42%;
        padding: 5rem 4rem;
    }
    .talent-form-side {
        width: 58%;
        padding: 5rem 6rem;
    }
}

/* Small monitors (1920-2559px) */
@media (min-width: 1920px) and (max-width: 2559px) {
    .talent-pattern-bg {
        width: 42%;
        padding: 6rem 5rem;
    }
    .talent-form-side {
        width: 58%;
        padding: 6rem 7rem;
    }
}

/* Medium monitors (2560-3199px) */
@media (min-width: 2560px) and (max-width: 3199px) {
    .talent-pattern-bg {
        width: 42%;
        padding: 7rem 6rem;
    }
    .talent-form-side {
        width: 58%;
        padding: 7rem 8rem;
    }
    .talent-input-field {
        font-size: 1.25rem;
    }
}

/* Large monitors (3200-3839px) */
@media (min-width: 3200px) and (max-width: 3839px) {
    .talent-pattern-bg {
        width: 42%;
        padding: 8rem 7rem;
    }
    .talent-form-side {
        width: 58%;
        padding: 8rem 10rem;
    }
    .talent-input-field {
        font-size: 1.5rem;
    }
}

/* 49" Odyssey OLED G9 (3840-5119px) */
@media (min-width: 3840px) and (max-width: 5119px) {
    .talent-pattern-bg {
        width: 42%;
        padding: 9rem 8rem;
    }
    .talent-form-side {
        width: 58%;
        padding: 9rem 12rem;
    }
    .talent-input-field {
        font-size: 1.75rem;
    }
}

/* 57" Odyssey Neo G9 (5120px+) */
@media (min-width: 5120px) {
    .talent-pattern-bg {
        width: 42%;
        padding: 10rem 10rem;
    }
    .talent-form-side {
        width: 58%;
        padding: 10rem 15rem;
    }
    .talent-input-field {
        font-size: 2rem;
    }
}

/* Vertical monitors */
@media (orientation: portrait) and (min-width: 768px) {
    .talent-network-section {
        flex-direction: column;
    }
    .talent-pattern-bg {
        width: 100%;
        min-height: 400px;
    }
    .talent-form-side {
        width: 100%;
    }
}
