/* ========================================
   ENTROPY LABS - RECRUITMENT FORM STYLES
   ======================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #000000;
    color: #000000;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container & Layout */
.container {
    width: 100%;
    min-height: 100vh;
    padding: 0;
    display: flex;
    justify-content: center;
}

.form-wrapper {
    background-color: #000000;
    border-radius: 0;
    padding: 60px 50px 80px;
    max-width: 900px;
    width: 100%;
}

/* Header */
.header {
    margin-bottom: 50px;
}

.header h1 {
    color: #89ff00;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.intro {
    color: #ffffff;
    font-size: 17px;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

/* Form Groups */
.form-group {
    margin-bottom: 35px;
}

/* Labels */
label {
    color: #ffffff;
    font-size: 14.67px;
    font-weight: 400;
    display: block;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.section-label {
    font-weight: 600;
    font-size: 15px;
}

.required {
    color: #89ff00;
    margin-left: 2px;
}

.description {
    color: #999999;
    font-size: 13px;
    font-style: italic;
    margin-top: -5px;
    margin-bottom: 12px;
}

/* Text Inputs & Textareas */
input[type="text"],
input[type="email"],
input[type="url"],
textarea {
    width: 100%;
    padding: 14px 16px;
    background-color: #1a1a1a;
    border: 2px solid #333333;
    border-radius: 8px;
    color: #ffffff;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
textarea:focus {
    border-color: #89ff00;
    background-color: #222222;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="url"]::placeholder,
textarea::placeholder {
    color: #666666;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* Radio Buttons - Standard */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-group.inline {
    flex-direction: row;
    gap: 20px;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #ffffff;
    font-size: 15px;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-custom {
    position: relative;
    width: 20px;
    height: 20px;
    border: 2px solid #666666;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.radio-option input[type="radio"]:checked ~ .radio-custom {
    border-color: #89ff00;
    background-color: #89ff00;
}

.radio-option input[type="radio"]:checked ~ .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #000000;
}

.radio-option:hover .radio-custom {
    border-color: #89ff00;
}

/* Choice Buttons - Custom (B2B/SaaS Experience) */
.choice-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.choice-option {
    cursor: pointer;
}

.choice-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.choice-custom {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background-color: #1a1a1a;
    border: 2px solid #333333;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.choice-option input[type="radio"]:checked ~ .choice-custom {
    border-color: #89ff00;
    background-color: #0d1a00;
}

.choice-option:hover .choice-custom {
    border-color: #666666;
}

.choice-option input[type="radio"]:checked ~ .choice-custom:hover {
    border-color: #89ff00;
}

.choice-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: #333333;
    color: #ffffff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.choice-option input[type="radio"]:checked ~ .choice-custom .choice-letter {
    background-color: #89ff00;
    color: #000000;
}

.choice-text {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.5;
    flex: 1;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    max-width: 300px;
    padding: 16px 32px;
    background-color: #b4fa1e;
    color: #000000;
    border: none;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 40px auto 0;
    display: block;
}

.submit-btn:hover {
    background-color: #89ff00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(180, 250, 30, 0.3);
}

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

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px;
}

.success-message h2 {
    color: #89ff00;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.success-message p {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
}

/* Validation States */
input:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown) {
    border-color: #ff4444;
}

input:valid:not(:placeholder-shown),
textarea:valid:not(:placeholder-shown) {
    border-color: #89ff00;
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE
   ======================================== */

@media screen and (max-width: 768px) {
    .form-wrapper {
        padding: 40px 30px 60px;
    }

    .header h1 {
        font-size: 28px;
    }

    .intro {
        font-size: 16px;
    }

    .submit-btn {
        max-width: 100%;
    }
}

@media screen and (max-width: 450px) {
    .container {
        padding: 0;
    }

    .form-wrapper {
        padding: 40px 25px 60px;
        border-radius: 0;
    }

    .header {
        margin-bottom: 40px;
    }

    .header h1 {
        font-size: 26px;
        margin-bottom: 16px;
    }

    .intro {
        font-size: 15px;
    }

    .form-group {
        margin-bottom: 30px;
    }

    label,
    .section-label {
        font-size: 14px;
    }

    input[type="text"],
    input[type="email"],
    input[type="url"],
    textarea {
        padding: 12px 14px;
        font-size: 14px;
    }

    .radio-group.inline {
        flex-direction: column;
        gap: 12px;
    }

    .choice-custom {
        padding: 14px;
        gap: 10px;
    }

    .choice-letter {
        width: 26px;
        height: 26px;
        font-size: 13px;
    }

    .choice-text {
        font-size: 14px;
    }

    .submit-btn {
        padding: 14px 28px;
        font-size: 15px;
    }

    .success-message {
        padding: 30px 20px;
    }

    .success-message h2 {
        font-size: 24px;
    }

    .success-message p {
        font-size: 15px;
    }
}

/* Smooth Transitions */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus Visible for Accessibility */
input:focus-visible,
textarea:focus-visible,
button:focus-visible {
    outline: 2px solid #89ff00;
    outline-offset: 2px;
}
