/* Contract Submission Form Styles */
.cp-submission-form-container {
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.cp-submission-form-container h2 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.cp-submission-form .form-row {
    margin-bottom: 20px;
}

.cp-submission-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.cp-submission-form .required {
    color: #e32;
}

.cp-submission-form input[type="text"],
.cp-submission-form input[type="email"],
.cp-submission-form input[type="number"],
.cp-submission-form input[type="url"],
.cp-submission-form input[type="file"],
.cp-submission-form textarea,
.cp-submission-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 4px;
    font-size: 16px;
}

/* Multi-select styling */
.cp-submission-form select[multiple] {
    height: 150px;
    overflow-y: auto;
    padding: 8px;
    background-color: white;
}

.cp-submission-form select[multiple] option {
    padding: 6px 8px;
    margin-bottom: 2px;
    border-radius: 3px;
    transition: background-color 0.2s;
}

.cp-submission-form select[multiple] option:checked {
    background-color: #e6f3fa;
    color: #0073aa;
    font-weight: bold;
}

.cp-submission-form select[multiple] option:hover {
    background-color: #f5f5f5;
}

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

.cp-submission-form .date-row {
    display: flex;
    gap: 20px;
}

.cp-submission-form .date-field {
    flex: 1;
}

.cp-submission-form .description {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.cp-submission-form .submit-row {
    margin-top: 30px;
}

.cp-submission-form .submit-button {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cp-submission-form .submit-button:hover {
    background-color: #005177;
}

/* Other industry field styling */
#industry-other-field {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 4px;
    margin-top: -10px;
    margin-bottom: 25px;
    border-left: 3px solid #0073aa;
}

/* reCAPTCHA styling */
.recaptcha-row {
    margin-bottom: 25px;
}

.g-recaptcha {
    margin-top: 5px;
}

.cp-submission-success {
    background-color: #dff0d8;
    color: #3c763d;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.cp-submission-success h3 {
    margin-top: 0;
}

.cp-submission-success .button {
    display: inline-block;
    background-color: #0073aa;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 4px;
    margin-top: 10px;
}

.cp-submission-error {
    background-color: #f2dede;
    color: #a94442;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cp-submission-form .date-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .cp-submission-form-container {
        padding: 15px;
    }
}
