/* Signup Step1 스타일 */
/* Login 페이지 스타일 */
.container {	
    max-width: 1200px;
    width: 100%;
    padding: 40px 20px;
    margin: 0 auto;    
}

.agreement-container {
    background: #fff;
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.agree-all {
    padding: 20px;
    border: 2px solid #333;
    margin-bottom: 30px;
    background-color: #fafafa;
}

.agree-all label {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.agree-all input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
}

.agree-all-text {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
    padding-left: 30px;
}

.agree-item {
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #e0e0e0;
}

.agree-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.agree-item-header label {
    display: flex;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
}

.agree-item-header input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
}

.required-badge {
    display: inline-block;
    padding: 2px 6px;
    background-color: #ff4444;
    color: #fff;
    font-size: 11px;
    border-radius: 2px;
    margin-left: 5px;
}

.optional-badge {
    display: inline-block;
    padding: 2px 6px;
    background-color: #999;
    color: #fff;
    font-size: 11px;
    border-radius: 2px;
    margin-left: 5px;
}

.view-terms {
    color: #666;
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
}

.terms-content {
    max-height: 200px;
    overflow-y: auto;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    font-size: 12px;
    line-height: 1.8;
    color: #666;
    margin-top: 10px;
    display: none;
}

.terms-content.show {
    display: block;
}

.error-message {
    color: #ff4444;
    font-size: 13px;
    margin-top: 10px;
    text-align: center;
}

@media (max-width: 768px) {
    .agreement-container {
        padding: 30px 20px;
    }
    
    .agree-all {
        padding: 15px;
    }
    
    .agree-item {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .agreement-container {
        padding: 20px 15px;
    }
    
    .agree-all label {
        font-size: 14px;
    }
    
    .agree-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
