/* ======================================
   Form Wrapper
====================================== */
.acf-add-project-form {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    font-family: 'Segoe UI', Tahoma, sans-serif;
    color: #333;
}

/* Main Title */
.acf-add-project-form h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
    color: #222;
}

/* Section Titles */
.acf-add-project-form h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 25px 0 15px;
    padding-bottom: 6px;
    border-bottom: 2px solid #0073e6;
    color: #0073e6;
}

/* ======================================
   Field Layout
====================================== */
.acf-field {
    margin-bottom: 20px;
}

/* Labels */
.acf-label label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: #333;
}

/* Inputs, Selects, Textareas */
.acf-input input,
.acf-input select,
.acf-input textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d1d1;
    border-radius: 6px;
    font-size: 15px;
    background: #fafafa;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.acf-input input:focus,
.acf-input select:focus,
.acf-input textarea:focus {
    border-color: #0073e6;
    background: #fff;
    box-shadow: 0 0 6px rgba(0, 115, 230, 0.25);
    outline: none;
}

/* Two-column Layout for Certain Fields */
.acf-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .acf-two-column {
        grid-template-columns: 1fr;
    }
}

/* ======================================
   Gallery Field
====================================== */
.acf-gallery {
    background: #f8f8f8;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 6px;
}

.acf-gallery .acf-gallery-toolbar {
    background: #f1f1f1;
    padding: 6px;
    border-bottom: 1px solid #ccc;
    border-radius: 6px 6px 0 0;
}

.acf-gallery .acf-gallery-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
}

.acf-gallery .acf-gallery-attachment {
    border: 1px solid #ccc;
    border-radius: 4px;
    width: calc(33.33% - 8px);
    overflow: hidden;
    background: #fff;
}

@media (max-width: 768px) {
    .acf-gallery .acf-gallery-attachment {
        width: calc(50% - 8px);
    }
}

@media (max-width: 480px) {
    .acf-gallery .acf-gallery-attachment {
        width: 100%;
    }
}

/* ======================================
   Submit Button
====================================== */
.acf-form-submit input[type="submit"] {
    display: inline-block;
    width: 100%;
    padding: 14px 20px;
    background: #0073e6;
    color: #fff;
    font-size: 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: 600;
}

.acf-form-submit input[type="submit"]:hover {
    background: #005bb5;
}

/* ======================================
   Success Message
====================================== */
.acf-success-message {
    background: #e0f7e9;
    color: #2d7a38;
    padding: 15px;
    border: 1px solid #a2d5aa;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

/* ======================================
   Responsive Adjustments
====================================== */
@media (max-width: 768px) {
    .acf-add-project-form {
        padding: 20px;
    }
    .acf-add-project-form h2 {
        font-size: 24px;
    }
    .acf-add-project-form h3 {
        font-size: 18px;
    }
}
