/* ======================================
   PREMIUM ALUMNI FORM – INSTITUTIONAL
====================================== */

.alumni-form-wrapper {
    max-width: 880px;
    margin: 0 auto;
    padding: 70px 60px;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 40px 90px rgba(0,0,0,0.04);
}

/* Grid Layout */
.alumni-form-wrapper .acf-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 50px;
}

/* Full width fields */
.alumni-form-wrapper .acf-field-textarea,
.alumni-form-wrapper .acf-field-image {
    grid-column: span 2;
}

/* Remove ACF borders */
.acf-fields > .acf-field {
    border-top: none !important;
}

/* Labels */
.alumni-form-wrapper .acf-label label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: block;
}

/* Required star */
.alumni-form-wrapper .acf-required {
    color: var(--primary-hover-color-new);
}

/* Inputs – Premium Minimal */
.alumni-form-wrapper .acf-input input,
.alumni-form-wrapper .acf-input textarea,
.alumni-form-wrapper .acf-input select {
    width: 100%;
    padding: 14px 0;
    border: none;
    border-bottom: 1px solid var(--primary-color-three);
    background: transparent;
    font-size: 15px;
    transition: all 0.25s ease;
}

/* Focus */
.alumni-form-wrapper .acf-input input:focus,
.alumni-form-wrapper .acf-input textarea:focus,
.alumni-form-wrapper .acf-input select:focus {
    outline: none;
    border-bottom: 2px solid var(--primary-color);
}

/* Textarea */
.alumni-form-wrapper textarea {
    min-height: 150px;
    resize: vertical;
}

/* ======================================
   PREMIUM PROFILE IMAGE UPLOAD
====================================== */

.alumni-form-wrapper .acf-field-image {
    grid-column: span 2;
}

/* Upload container */
.alumni-form-wrapper .acf-image-uploader {
    border: 1px solid var(--primary-color-three);
    border-radius: 24px;
    padding: 50px 30px;
    background: #fff;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

/* Hover effect */
.alumni-form-wrapper .acf-image-uploader:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

/* "No image selected" text */
.alumni-form-wrapper .acf-image-uploader p {
    font-size: 14px;
    color: #666;
}

/* Style Add Image button */
.alumni-form-wrapper .acf-image-uploader .acf-button {
    margin-top: 12px;
    background: var(--primary-color-two);
    color: var(--secondary-color);
    border: none;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.alumni-form-wrapper .acf-image-uploader .acf-button:hover {
    background: var(--primary-hover-color-new);
    color: #fff;
}

/* Preview image */
.alumni-form-wrapper .acf-image-uploader .image-wrap {
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

/* Remove heavy hover icons background */
.alumni-form-wrapper .acf-image-uploader .acf-actions a {
    background: var(--secondary-color);
    border-radius: 50%;
    width: 28px;
    height: 28px;
}

/* Icon hover */
.alumni-form-wrapper .acf-image-uploader .acf-actions a:hover {
    background: var(--primary-hover-color-new);
}
/* Submit Section */
.alumni-form-wrapper .acf-form-submit {
    grid-column: span 2;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--primary-color-three);
    text-align: center;
}

/* Button – Institutional */
.alumni-form-wrapper .acf-form-submit input[type="submit"] {
    background: var(--secondary-color);
    color: #fff;
    padding: 14px 42px;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.alumni-form-wrapper .acf-form-submit input[type="submit"]:hover {
    background: var(--primary-hover-color-new);
    transform: translateY(-2px);
}

/* Success message */
.alumni-form-wrapper #message.updated {
    background: var(--primary-color-two);
    border: 1px solid var(--primary-color-three);
    padding: 30px;
    border-radius: 20px;
}

/* Spinner alignment */
.alumni-form-wrapper .acf-spinner {
    margin-left: 10px;
}

/* Responsive */
@media (max-width: 768px) {

    .alumni-form-wrapper {
        padding: 45px 25px;
    }

    .alumni-form-wrapper .acf-fields {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .alumni-form-wrapper .acf-field-textarea,
    .alumni-form-wrapper .acf-field-image,
    .alumni-form-wrapper .acf-form-submit {
        grid-column: span 1;
    }
}