/* BASIC css start */
/* 메인 컨테이너 */
.proposal-container {
    width: 100%;
    max-width: 642px;
    background-color: #fff;
    padding: 25px 20px;
    border-radius: 15px;
    margin: 10px auto 0;
    border: 1px solid #e0e0e0;
    box-sizing: border-box;
    overflow: hidden;
}

/* 상단 제휴/구매 섹션 */
.proposal-intro {
    width: 100%;
    max-width: 642px;
    background-color: #fff;
    padding: 30px 20px 25px;
    border-radius: 15px;
    margin: 125px auto 0;
    border: 1px solid #e0e0e0;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.proposal-intro::before {
    content: "";
    background: var(--maincolor);
    width: 100%;
    height: 11px;
    position: absolute;
    top: 0;
    left: 0;
}

.proposal-intro h5 {
    font-size: 16px;
    font-weight: 500;
}

.proposal-intro p {
    font-size: 16px;
    font-weight: 400;
    padding: 15px 0 20px;
    color: #6f6f6f
}

.proposal-types {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0 35px;
}

.type-button {
    flex: 1;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 22px;
    cursor: pointer;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.type-button.active {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

/* 폼 섹션 */
.proposal-form h2 {
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: bold;
}

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

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}

.form-group .input-group {
    display: flex;
    gap: 10px;
}

.form-group .input-group>* {
    flex: 1;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"] {
    width: 100%;
    padding: 0 12px;
    border: 1px solid #f5f5f5;
    border-radius: 10px;
    font-size: 13px;
    box-sizing: border-box;
    height: 43px;
    line-height: 43px;
}

.form-group input[type="text"]::placeholder,
.form-group input[type="password"]::placeholder,
.form-group input[type="email"]::placeholder {
    color: #9e9e9e;
}

.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #f5f5f5;
    border-radius: 10px;
    font-size: 13px;
    box-sizing: border-box;
    resize: vertical;
    min-height: 140px;
    font-family: 'Pretendard Variable', sans-serif !important;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}


/* 파일 첨부 */
.file-upload {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
}

.file-upload p {
    font-size: 14px;
    color: #888;
}

.file-upload span {
    font-size: 30px;
    line-height: 1;
    font-weight: 300;
    color: #aaa;
}

/* 제출 버튼 */
.button-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 642px;
    margin: 20px auto 0;
}

.submit-btn {
    width: 100%;
    background-color: var(--maincolor);
    color: #fff;
    border: 1px solid var(--maincolor);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 75px;
    box-sizing: border-box;
    font-size: 20px;
    font-weight: bold;
}

.flexBox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn_file {
    background: #f8f8f8;
    height: 43px;
    line-height: 43px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 0 11px;
    display: inline-block;
    box-sizing: border-box;
    white-space: nowrap;
}

/* 반응형 스타일 */
@media (max-width: 1024px) {
    .proposal-container {
        margin: 20px auto 0;
        padding: 30px 20px;
    }

    .proposal-intro {
        margin: 45px auto 0;
    } 
    .proposal-types {
    display: flex;
    gap: 10px;
    flex-direction: column;
        padding: 0;
}

.type-button {
    flex: 1;
    padding: 0px 0;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    background: #fff;
    color: #000;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    /* transition: all 0.2s; */
    text-align: center;
    line-height: 40px;
    padding: 0 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    box-sizing: border-box;
    flex: none;
    height: 42px;
}
}

@media (max-width: 768px) {
    .proposal-container {
        margin: 35px auto 0;
    }

    .proposal-types {
        padding: 0;
    }

    .button-container {
        margin: 30px auto 0;
    }
} 
/* BASIC css end */

