:root {
    --header-height-desktop: 100px;
    --header-height-mobile: 70px;
    --primary-bg-color: rgba(247, 244, 242, 1);
    --color-text: rgba(50, 45, 41, 1);
    --color-background: rgba(247, 244, 242, 1);
    --transition-default: 0.3s ease;
}

.main-content {
    padding-top: var(--header-height-desktop);
    background-color: var(--primary-bg-color);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pitch-main-container {
    padding: 50px 190px;
    width: 100%;
    max-width: 1440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.pitch-main-tilte-container {
    width: 100%;
    color: rgba(50, 45, 41, 1);
}

.pitch-main-tilte {
    font-family: Amiri;
    font-size: 64px;
    font-weight: 400;
    line-height: 60px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.pitch-main-sub-tilte {
    color: rgba(50, 45, 41, 1);
    font-family: Noto Sans;
    font-size: 22px;
    font-weight: 400;
    line-height: 40px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

/* Pitch Loader Styles */
#pitchModalOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.233);
    z-index: 9998;
    opacity: 0.8;
}

.pitch-no-interaction {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
}

.pitch-loader {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

.pitch-loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(247, 244, 242, 1);
    border-top: 5px solid rgba(50, 45, 41, 1);
    border-radius: 50%;
    animation: pitchLoaderSpin 1s linear infinite;
}

@keyframes pitchLoaderSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.pitch-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    text-align: center;
    min-width: 300px;
}

.pitch-popup.success {
    border-top: 4px solid rgba(3, 152, 85, 1);
}

.pitch-popup.error {
    border-top: 4px solid #f44336;
}

.pitch-popup-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.pitch-popup-title {
    font-family: Noto Sans;
    font-size: 24px;
    font-weight: 500;
    line-height: 40px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    margin-bottom: 10px;
    color: rgba(50, 45, 41, 1);
}

.pitch-popup-message {
    font-family: Noto Sans;
    font-size: 18px;
    font-weight: 400;
    line-height: 40px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: rgba(50, 45, 41, 1);
    margin-bottom: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.container {
    width: 100%;
    margin: 0;
    background: transparent;
    padding: 20px;
}

.stepper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    position: relative;
}

.stepper .step {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(247, 244, 242, 1);
    color: rgba(50, 45, 41, 1);
    border: 3px solid rgba(188, 178, 168, 1);
    z-index: 1;
    font-family: Noto Sans;
    font-size: 26.81px;
    font-weight: 500;
    line-height: 36.52px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.stepper .step.active {
    border: 3.3px solid rgba(50, 45, 41, 1);
    background-color: rgba(247, 244, 242, 1);
    color: rgba(50, 45, 41, 1);
}

.step.completed {
    background-color: rgba(50, 45, 41, 1) !important;
    border: 4.13px solid rgba(50, 45, 41, 1) !important;
    color: rgba(247, 244, 242, 1) !important;
}

.step.completed::after {
    content: '✓';
    font-size: 24px;
}

.form-step-field-input.error {
    border: 1px solid #ff0000;
}

.form-step-field-input.valid {
    border: 1px solid #4CAF50;
}

.stepper .line {
    position: absolute;
    width: 100%;
    top: 50%;
    height: 2px;
    background: rgba(188, 178, 168, 1);
    z-index: 0;
}

.stepper .line.active {
    background-color: black;
}

.form-step {
    display: none;
}

.form-step.active {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
}

.form-step-title {
    font-family: Noto Sans;
    font-size: 28px;
    font-weight: 600;
    line-height: 40px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: rgba(50, 45, 41, 1);
    margin-top: 20px;
    margin-bottom: 20px;
}

.form-step-field-container {
    width: 100%;
    height: fit-content;
    padding: 20px 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.form-step-field-label {
    width: 40%;
    min-width: 250px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    overflow-wrap: anywhere;
}

.form-step-field-main-label {
    font-family: Noto Sans;
    font-size: 24px;
    font-weight: 500;
    line-height: 40px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: rgba(50, 45, 41, 1);
}

.form-step-field-sub-label {
    font-family: Noto Sans;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: rgba(50, 45, 41, 0.7);
}

.form-step-field-input {
    width: 50%;
    max-width: 500px;
    min-width: 500px;
    min-height: 60px;
    height: 100%;
    padding: 20px 20px;
    border: none;
    color: rgba(50, 45, 41, 0.7);
    background-color: rgba(255, 255, 255, 1);
    border: 1.5px solid transparent;
    border-radius: 12px;
    font-family: Noto Sans;
    font-size: 16px;
    font-weight: 300;
    line-height: 20px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.form-step-field-input:focus {
    border: 1.5px solid rgba(50, 45, 41, 0.7);
    outline: none;
}

.required {
    color: rgba(255, 0, 0, 0.6);
    font-family: 'Noto Sans', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 20px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.custom-file-upload {
    width: 50%;
    max-width: 500px;
    min-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
    color: rgba(50, 45, 41, 0.7);
    background-color: rgba(255, 255, 255, 1);
    cursor: pointer;
}

.upload-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    width: 100%;
    height: 100%;
    padding: 20px;
}

.upload-box span {
    font-family: Noto Sans;
    font-size: 16px;
    font-weight: 300;
    line-height: 20px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: rgba(50, 45, 41, 0.7);
}

.browse-button {
    color: rrgba(50, 45, 41, 0.7);
    background-color: rgba(247, 244, 242, 1);
    border: none;
    font-family: Noto Sans;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
}

input[type="file"] {
    display: none;
}

.custom-file-upload.dragover {
    border: 2px solid rgba(50, 100, 200, 1);
    background-color: rgba(240, 240, 255, 1);
}

#file-info {
    font-weight: 400;
    color: rgba(50, 45, 41, 0.7);
    text-align: center;
}

.pitch-error-container {
    color: #ff0000;
    width: 100%;
    min-width: 100%;
    min-height: 20px;
    cursor: text;
    margin-bottom: -25px;
    margin-top: 10px;
}

.form-step-field-checkbox-cont {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.form-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: Noto Sans, sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: rgba(50, 45, 41, 1);
    line-height: 1.5;
    cursor: pointer;
}

.form-step-field-checkbox {
    margin: 0;
    width: 30px;
    height: 30px;
    accent-color: rgba(188, 178, 168, 1);
    border: 1px solid rgba(50, 45, 41, 1);
    border-radius: 4px;
    cursor: pointer;
}

.form-confirmation-text {
    text-align: justify;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: rgba(50, 45, 41, 1);
    user-select: none;
}

.buttons {
    width: 100%;
    margin-top: 3rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

button {
    /* width: 100px; */
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 10px 30px;
    border-radius: 12px;
    cursor: pointer;
    font-family: Noto Sans;
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.next-btn {
    border: 1px solid rgba(50, 45, 41, 1);
    color: rgba(239, 233, 225, 1);
    background-color: rgba(50, 45, 41, 1);
    padding: 10px 22px;
}

.next-btn:hover {
    color: rgba(50, 45, 41, 1);
    background-color: rgba(247, 244, 242, 1);
}

.prev-btn {
    border: 1px solid rgba(50, 45, 41, 1);
    background-color: rgba(247, 244, 242, 1);
    color: rgba(50, 45, 41, 1);
    padding: 10px 22px;
}

.prev-btn:hover {
    color: rgba(239, 233, 225, 1);
    background-color: rgba(50, 45, 41, 1);
}

.submit-btn {
    display: none;
    border: 1px solid rgba(50, 45, 41, 1);
    color: rgba(239, 233, 225, 1);
    background-color: rgba(50, 45, 41, 1);
}

.file-upload-value-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    gap: 10px;
}

.pitch_highper_link {
    font-weight: 500;
    text-decoration: underline;
    color: rgba(50, 45, 41, 1);
}

@media (max-width: 1024px) and (min-width: 768px) {
    :root {
        --header-height-desktop: var(--header-height-mobile);
    }

    .main-content {
        padding-top: var(--header-height-mobile);
    }

    .pitch-main-container {
        padding: 20px 10px;
        gap: 20px;
    }

    .pitch-main-tilte {
        font-size: 32px;
        line-height: 40px;
        text-align: center;
    }

    .pitch-main-sub-tilte {
        font-size: 16px;
        line-height: 24px;
        text-align: center;
    }

    .form-step--container {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 0;
        gap: 15px;
    }

    .form-step-field-label {
        width: 100%;
    }

    .form-step.active {
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: space-between;
        gap: 24px;
    }

    .form-step-field-checkbox {
        width: 24px;
        height: 24px;
    }

    .buttons {
        flex-direction: row;
        align-items: stretch;
        gap: 10px;
    }

    button {
        padding: 10px;
        font-size: 16px;
        line-height: 24px;
    }

    .next-btn:hover {
        color: rgba(239, 233, 225, 1);
        background-color: rgba(50, 45, 41, 1);
    }

    .prev-btn:hover {
        background-color: rgba(247, 244, 242, 1);
        color: rgba(50, 45, 41, 1);
    }

    .stepper .step {
        width: 50px;
        height: 50px;
        font-family: Noto Sans;
        font-size: 21.53px;
        font-weight: 500;
        line-height: 29.32px;
        text-align: center;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;

    }

    .pitch-main-tilte {
        font-family: Amiri;
        font-size: 40px;
        font-weight: 400;
        line-height: 60px;
        text-align: center;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
    }

    .pitch-main-sub-tilte {
        display: none
    }

    .form-checkbox-wrapper {
        font-family: Noto Sans;
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        text-align: left;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
    }

    .form-step-title {
        font-family: Noto Sans;
        font-size: 28px;
        font-weight: 600;
        line-height: 40px;
        text-align: left;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
    }

    .form-step-field-main-label {
        min-width: 200px;
        font-family: Noto Sans;
        font-size: 20px;
        font-weight: 400;
        line-height: 30px;
        text-align: left;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
    }

    .custom-file-upload {
        min-width: 350px;
        width: 100%;
    }

    .form-step-field-sub-label {
        font-family: Noto Sans;
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        text-align: left;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
    }

    .form-step-field-input {
        width: 30%;
        min-width: 350px;
        min-height: 60px;
        max-width: 250px;
        font-family: Noto Sans;
        font-size: 16px;
        font-weight: 300;
        line-height: 20px;
        text-align: left;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
    }

    .required {
        font-size: 14px;
    }


    .pitch-loader {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 9999;
    }

    .pitch-loader-spinner {
        width: 50px;
        height: 50px;
        border: 5px solid rgba(247, 244, 242, 1);
        border-top: 5px solid rgba(50, 45, 41, 1);
        border-radius: 50%;
        animation: pitchLoaderSpin 1s linear infinite;
        z-index: 9999;
    }

    .pitch-popup {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: white;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 9999;
        text-align: center;
        min-width: 90%;
    }

    .pitch-popup-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto 20px;
        object-fit: cover;
        display: block;
    }

    .pitch-popup-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .pitch-popup-title {
        font-size: 16px;
    }

    .pitch-popup-message {
        font-size: 14px;
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    :root {
        --header-height-desktop: var(--header-height-mobile);
    }

    .main-content {
        padding-top: var(--header-height-mobile);
    }

    .pitch-main-container {
        padding: 20px 10px;
        gap: 20px;
    }

    .pitch-main-tilte {
        font-size: 32px;
        line-height: 40px;
        text-align: center;
    }

    .pitch-main-sub-tilte {
        font-size: 16px;
        line-height: 24px;
        text-align: center;
    }

    .form-step-field-container {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 0;
        /* gap: 15px; */
    }

    .form-step-field-label {
        width: 100%;
    }

    .form-step-field-checkbox {
        width: 24px;
        height: 24px;
    }

    .buttons {
        flex-direction: row;
        align-items: stretch;
        gap: 10px;
    }

    button {
        padding: 10px;
        font-size: 16px;
        line-height: 24px;
    }

    .next-btn:hover {
        color: rgba(239, 233, 225, 1);
        background-color: rgba(50, 45, 41, 1);
    }

    .prev-btn:hover {
        background-color: rgba(247, 244, 242, 1);
        color: rgba(50, 45, 41, 1);
    }

    .stepper .step {
        width: 50px;
        height: 50px;
        font-family: Noto Sans;
        font-size: 21.53px;
        font-weight: 500;
        line-height: 29.32px;
        text-align: center;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;

    }

    .pitch-main-tilte {
        font-family: Amiri;
        font-size: 40px;
        font-weight: 400;
        line-height: 60px;
        text-align: center;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
    }

    .pitch-main-sub-tilte {
        display: none
    }

    .form-checkbox-wrapper {
        font-family: Noto Sans;
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        text-align: left;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
    }

    .form-step-title {
        font-family: Noto Sans;
        font-size: 28px;
        font-weight: 600;
        line-height: 40px;
        text-align: left;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
    }

    .form-step-field-main-label {
        font-family: Noto Sans;
        font-size: 20px;
        font-weight: 400;
        line-height: 30px;
        text-align: left;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
    }

    .form-step-field-sub-label {
        font-family: Noto Sans;
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        text-align: left;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
        margin-bottom: 10px;
    }

    .form-step-field-input {
        max-width: none;
        min-width: 100%;
        min-height: 60px;
        font-family: Noto Sans;
        font-size: 16px;
        font-weight: 300;
        line-height: 20px;
        text-align: left;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
        width: 100%;
    }

    .required {
        font-size: 14px;
    }

    .custom-file-upload {
        width: 100%;
        max-width: none;
        min-width: 250px;

    }

    .form-step-field-value-cont {
        width: 100%;
    }

    .pitch-error-container {
        max-width: 100px;
        color: #ff0000;
        font-size: 14px;
        margin-top: 5px;
        font-family: 'Noto Sans';
    }

    .checkbox-container {
        margin: 10px 0px 0px 0px;
    }

    .upload-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
        width: 320px;
        height: 100%;
        padding: 20px;
    }

    .file-upload-value-container {
        width: 100%;
    }

    .pitch-loader {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 9999;
    }

    .pitch-loader-spinner {
        width: 50px;
        height: 50px;
        border: 5px solid rgba(247, 244, 242, 1);
        border-top: 5px solid rgba(50, 45, 41, 1);
        border-radius: 50%;
        animation: pitchLoaderSpin 1s linear infinite;
        z-index: 9999;
    }

    .pitch-popup {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: white;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 9999;
        text-align: center;
        min-width: 90%;
    }

    .pitch-popup-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto 20px;
        object-fit: cover;
        display: block;
    }

    .pitch-popup-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .pitch-popup-title {
        font-size: 16px;
        line-height: 20px;
    }

    .pitch-popup-message {
        font-size: 14px;
        margin-bottom: 0;
        line-height: 20px;
    }

}

/* Special fix for Safari on iOS */
@supports (-webkit-touch-callout: none) {
    .form-step-field-checkbox {
        transform: scale(0.8);
        transform-origin: center;
    }
}