/* /resource/www/css/partnership.css */

.partnership-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 120px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 128px;
}

.partnership-title-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
    width: 100%;
}

.partnership-title-section .title-small {
	font-size: 20px;
	line-height: 30px;
	color: #00754a;
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.partnership-title-section .title-large {
    font-family: 'Ria Sans', sans-serif;
    font-weight: 700;
    color: #222222;
    font-size: 48px;
	letter-spacing: -0.04em;
	line-height: 72px;
	margin: 0 0 40px 0;
}

.partnership-title-section .description {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.5;
    color: #222222;
    width: 100%;
    margin: 0;
}

.partnership-title-section .description p {
    margin: 0;
}

.desc-group-1 {
    max-width: 1103px;
    width: 100%;
    text-align: center;
}

.desc-group-list {
    width: fit-content;
    max-width: 100%;
    text-align: left;
}

.desc-group-notice {
    width: 100%;
    text-align: center;
    margin-top: 0;
}

.partnership-form {
    width: 100%;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.form-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group .form-label-group {
    display: flex;
    gap: 4px;
    align-items: center;
}

.form-label-group .form-label {
    font-family: 'Pretendard', sans-serif;
    font-weight: 500;
    font-size: 18px;
	line-height: 26px;
    color: #222222;
}

.form-label-group .required-star {
    font-family: 'Pretendard', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #FF2056;
}

.form-group .form-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #EAEAEA;
    padding: 12px 0;
    font-size: 18px;
    font-family: 'Pretendard', sans-serif;
    background-color: transparent;
    color: #222222;
}

.form-group .form-input:focus {
    outline: none;
    border-bottom: 1px solid #00754A;
}

/* Firefox 브라우저용 사용자 정의 스타일 */
.form-input[type="number"] {
  -moz-appearance: textfield;
}

/* 그 외(Chrome, Safari, Edge...)의 브라우저용 사용자 정의 스타일 */
.form-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.form-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.form-group .form-textarea {
    width: 100%;
    height: 400px;
    border: 1px solid #D4D4D4;
    border-radius: 12px;
    padding: 20px;
    font-size: 18px;
    font-family: 'Pretendard', sans-serif;
    resize: none;
    background-color: transparent;
    color: #222222;
    box-sizing: border-box;
}

.form-group .form-textarea:focus {
    outline: none;
    border-color: #00754A;
}

.form-submit-btn {
    width: 300px;
    padding: 14px 20px;
    background-color: #00754A;
    color: #FCFCFC;
    border: none;
    border-radius: 999px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 600;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 40px;
}

.form-submit-btn:hover {
    background-color: #005a3a;
}

.form-submit-btn:disabled {
    background-color: rgba(212, 212, 212, 0.4);
    color: #A1A1A1;
    cursor: not-allowed;
}

/* Agreement Section Styles */
.term-group {
    gap: 16px;
    margin-top: 20px;
}

.term-check-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding-left: 28px;
}

.terms-check-box {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #D4D4D4;
    border-radius: 4px;
    background-color: #FCFCFC;
    cursor: pointer;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
}

.terms-check-box:checked {
    background-color: #00754A;
    border-color: #00754A;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: center;
}

.term-check-wrap .form-label {
    font-size: 16px;
    font-weight: 500;
    color: #222222;
    margin: 0;
}

.term-content-box {
    width: 100%;
    height: 300px;
    border-radius: 6px;
    padding: 10px;
    overflow-y: auto;
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #222222;
    box-sizing: border-box;
    border-radius: .8rem;
    border: 1px solid #D8D8D8;
}

/* [필수] 텍스트 빨간색 지정 (고급스러운 Red 계열) */
.term-check-wrap label .font-red {
    color: #e52528 !important;
    font-weight: 700 !important;
}

/* Scrollbar styling for term-content-box */
.term-content-box::-webkit-scrollbar {
    width: 6px;
}

.term-content-box::-webkit-scrollbar-track {
    background: transparent;
}

.term-content-box::-webkit-scrollbar-thumb {
    background: #BABABA;
    border-radius: 5px;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 1024px) {
    .sub-content {
        margin-top: 40px;
        width: 100%;
    }

    .partnership-container {
        padding: 0 20px;
        gap: 60px;
        box-sizing: border-box;
    }

    .partnership-title-section {}

    .partnership-title-section .title-small {
        font-size: 14px;
		line-height: 22px;
		margin: 0 0 8px 0;
    }

    .partnership-title-section .title-large {
        font-size: 20px;
		letter-spacing: -0.04em;
		line-height: 30px;
		margin: 0 0 16px 0;
    }

    .partnership-title-section .description {
        font-size: 12px;
        line-height: 20px;
        gap: 12px;
        font-weight: 500;
        color: #222;
    }


    .partnership-form {
        gap: 32px;
    }

    .form-group {
        gap: 12px;
    }

    .form-label-group .form-label {
        font-size: 14px;
		line-height: 22px;
    }

    .form-group .form-input {
        font-size: 14px;
        padding: 8px 0;
    }

    .form-group .form-textarea {
        height: 320px;
        font-size: 16px;
        padding: 16px;
        border-radius: 8px;
        box-sizing: border-box;
    }

    .form-submit-btn {
        width: 100%;
        margin-top: 20px;
        font-size: 16px;
        padding: 10px 16px;
        border-radius: 999px;
    }

    /* Agreement Section Mobile Styles */
    .term-group {
        gap: 16px;
        margin-top: 16px;
    }

    .term-check-wrap {
        padding-left: 24px;
    }

    .terms-check-box {
        width: 18px;
        height: 18px;
    }

    .term-check-wrap .form-label {
        font-size: 14px;
        line-height: 22px;
    }

    .term-content-box {
        height: 300px;
        font-size: 14px;
        line-height: 22px;
        padding: 10px;
    }
}

