
/* Contact Modal Styles */
.partnership-form {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.partnership-form.show {
    display: flex;
}

.form-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.form-container h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 28px;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    z-index: 10001;
    background: none;
    border: none;
    padding: 5px;
    line-height: 1;
}

.close-btn:hover {
    color: #ff6b6b;
}

.form-group {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.form-group.full-width {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.form-group label {
    color: #333;
    font-weight: 500;
    min-width: 120px;
    flex-shrink: 0;
    margin: 0;
}

.form-group.full-width label {
    min-width: auto;
}

.form-group input,
.form-group select {
    flex: 1;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
    max-width: 400px;
}

.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    background: #68c8ca;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
}

.submit-btn:hover:not(:disabled) {
    background: #5ab5b7;
    transform: translateY(-2px);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-message i {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 20px;
    display: block;
}

.success-message h3 {
    color: #28a745;
    margin-bottom: 15px;
    font-size: 24px;
}

.success-message p {
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

.success-message .close-btn {
    background: #68c8ca;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    position: static;
    display: inline-block;
}

.success-message .close-btn:hover {
    background: #5ab5b7;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .form-container {
        width: 95%;
        padding: 30px 20px;
        margin: 20px;
    }
    
    .form-container h2 {
        font-size: 24px;
    }
    
    .form-group {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .form-group label {
        min-width: auto;
    }
    
    .form-group input,
    .form-group select {
        max-width: none;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
    }
    
    .success-message {
        padding: 30px 15px;
    }
    
    .success-message h3 {
        font-size: 20px;
    }
}
