/**
 * Egns Submit AI Tool Form Style
 * Clean, Modern, Black & White Theme
 */

.egns-submit-form-wrapper {
    width: 100%;
    box-sizing: border-box;
}

.egns-submit-form .egns-form-group {
    margin-bottom: 20px;
}

.egns-form-label {
    display: block;
    font-family: var(--font-worksans, sans-serif);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #171717;
}

.egns-form-control {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-worksans, sans-serif);
    font-size: 15px;
    border: 1px solid #d9d9d9; /* Default border color */
    border-radius: 8px;
    background-color: #fff;
    transition: all 0.3s ease;
    outline: none;
    color: #333;
}

.egns-form-control::placeholder {
    color: #999;
}

/* Focus State - Matching Theme */
.egns-form-control:focus {
    border-color: #171717; /* Black border on focus */
    box-shadow: 0 0 0 1px #171717;
}

/* Radio Buttons Layout */
.egns-radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns */
    gap: 15px;
}

@media (max-width: 576px) {
    .egns-radio-group {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
}

.egns-radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-worksans, sans-serif);
    font-size: 15px;
    color: #555;
    transition: color 0.3s;
}

.egns-radio-label:hover {
    color: #171717;
}

.egns-radio-label input[type="radio"] {
    margin-right: 10px;
    accent-color: #171717; /* Black radio accent */
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Submit Button */
.egns-submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #171717; /* Black default */
    color: #ffffff;
    border: 1px solid #171717;
    border-radius: 8px;
    font-family: var(--font-worksans, sans-serif);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.egns-submit-btn:hover {
    background-color: #ffffff;
    color: #171717;
}

.egns-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Messages */
.egns-form-message {
    margin-top: 20px;
    font-family: var(--font-worksans, sans-serif);
    font-size: 15px;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    display: none; /* Hidden by default */
}

.egns-form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.egns-form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}