/* style.css - Premium Form Styling */
.wcsu-form-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f6 100%);
}

.wcsu-form {
    background: white;
    border-radius: 16px;
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 0;
    width: calc(100% - 40px);
    max-width: 900px;
    margin: 20px auto;
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.wcsu-form:hover {
    box-shadow: 
        0 16px 32px rgba(0, 0, 0, 0.12),
        0 6px 16px rgba(0, 0, 0, 0.08);
}

.wcsu-form h2 {
    color: white;
    text-align: center;
    margin: 0;
    padding: 25px 30px;
    font-size: 24px;
    font-weight: 600;
    background: linear-gradient(135deg, #254D70 0%, #3A6B9A 100%);
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wcsu-help-button {
    position: absolute;
    right: 25px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wcsu-help-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.wcsu-help-button svg {
    width: 16px;
    height: 16px;
    fill: white;
}

.wcsu-form-content {
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.wcsu-form-field {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.wcsu-form input:not([type="file"]),
.wcsu-form textarea,
.wcsu-form select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    background-color: #f9f9f9;
    font-family: inherit;
}

.wcsu-form input[type="number"] {
    appearance: textfield;
}

.wcsu-form input[type="number"]::-webkit-outer-spin-button,
.wcsu-form input[type="number"]::-webkit-inner-spin-button {
    appearance: none;
    margin: 0;
}

.wcsu-form input:not([type="file"]):focus,
.wcsu-form textarea:focus,
.wcsu-form select:focus {
    outline: none;
    border-color: #6e8efb;
    box-shadow: 0 0 0 3px rgba(110, 142, 251, 0.15);
    background-color: white;
}

.wcsu-form textarea {
    min-height: 140px;
    resize: vertical;
    border-radius: 12px;
}

.wcsu-form label {
    font-weight: 500;
    color: #4a5568;
    font-size: 14px;
    padding-left: 4px;
}

.wcsu-form button[type="submit"] {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    border: none;
    padding: 16px 30px;
    font-size: 15px;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(110, 142, 251, 0.2);
}

.wcsu-form button[type="submit"]:hover {
    background: linear-gradient(135deg, #5d7de8, #9666d6);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(110, 142, 251, 0.3);
}

.wcsu-upload-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.wcsu-upload-grid > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wcsu-upload-grid input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #d1d1d1;
    border-radius: 10px;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.wcsu-upload-grid input[type="file"]:hover {
    border-color: #a777e3;
    background-color: #f5f1ff;
}

.upload-errors {
    color: #dc3545;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 12px;
    border-radius: 6px;
    margin-top: 12px;
    font-size: 14px;
}

.upload-errors div {
    margin: 6px 0;
}

.wcsu-form-field select[multiple] {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
    min-height: 120px;
}

.wcsu-form-field .description {
    color: #718096;
    font-style: italic;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .wcsu-form {
        width: calc(100% - 40px);
    }
    .wcsu-form-content {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .wcsu-form-content {
        padding: 20px;
    }
    .wcsu-upload-grid {
        grid-template-columns: 1fr;
    }
    .wcsu-form h2 {
        font-size: 22px;
        padding: 20px 25px 20px 25px;
    }
    .wcsu-help-button {
        right: 15px;
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .wcsu-form {
        width: calc(100% - 20px);
        border-radius: 12px;
    }
    .wcsu-form-content {
        padding: 18px;
        gap: 18px;
    }
    .wcsu-form h2 {
        padding: 18px 20px 18px 20px;
        font-size: 20px;
    }
    .wcsu-form input:not([type="file"]),
    .wcsu-form textarea,
    .wcsu-form select {
        padding: 12px 16px;
    }
    .wcsu-form button[type="submit"] {
        padding: 14px 20px;
        font-size: 14px;
    }
}