/* ============================================================
   GENERAL FORM WRAPPER
   ============================================================ */
.vfm-wrapper {
    max-width: 700px;
    margin: 30px auto;
    padding: 20px 30px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: Arial, sans-serif;
}

/* ============================================================
   FORM HEADINGS
   ============================================================ */
.vfm-wrapper h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 24px;
    color: #333;
}

/* ============================================================
   FORM GROUPS
   ============================================================ */
.vfm-wrapper .form-group {
    margin-bottom: 20px;
}

.vfm-wrapper .form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
}

.vfm-wrapper .form-group .required {
    color: red;
}

/* ============================================================
   INPUTS & TEXTAREAS
   ============================================================ */
.vfm-wrapper input[type="text"],
.vfm-wrapper input[type="password"],
.vfm-wrapper textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.vfm-wrapper textarea {
    resize: vertical;
}

/* ERROR HIGHLIGHT */
.vfm-error-field {
    border-color: #e74c3c !important;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.vfm-wrapper .vfm-btn,
.vfm-wrapper button {
    display: inline-block;
    background-color: #3498db;
    color: #fff;
    padding: 12px 22px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.vfm-wrapper .vfm-btn:hover,
.vfm-wrapper button:hover {
    background-color: #2980b9;
}

/* ============================================================
   MESSAGES
   ============================================================ */
.vfm-wrapper .vfm-success {
    padding: 12px 18px;
    background-color: #2ecc71;
    color: #fff;
    border-radius: 4px;
    margin-bottom: 15px;
    font-weight: bold;
}

.vfm-wrapper .vfm-error {
    padding: 12px 18px;
    background-color: #e74c3c;
    color: #fff;
    border-radius: 4px;
    margin-bottom: 15px;
    font-weight: bold;
}

.vfm-field-error {
    font-size: 13px;
    color: #e74c3c;
    margin-top: 5px;
}

/* ============================================================
   TABLE FOR PROFILE VIEW
   ============================================================ */
.vfm-profile-wrapper {
    max-width: 800px;
    margin: 30px auto;
    font-family: Arial, sans-serif;
}

.vfm-profile-wrapper h2 {
    text-align: center;
    margin-bottom: 25px;
}

.vfm-profile-table {
    width: 100%;
    border-collapse: collapse;
}

.vfm-profile-table th,
.vfm-profile-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
    vertical-align: top;
}

.vfm-profile-table th {
    background-color: #2f4f2f;
    color: #fff;
    width: 30%;
}

.mppb-file-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.mppb-file-actions .mppb-file-actions-btn{
    margin: auto;
}
.mppb-file-actions .download-btn {
    padding: 12px 20px;
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.25s ease;
    display: inline-block;
}

.mppb-file-actions .download-btn.docx {
    background: #4A90E2;
}

.mppb-file-actions .download-btn.pdf {
    background: #E94A3F;
}

.mppb-file-actions .download-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 480px) {
    .download-actions {
        flex-direction: column;
    }
}
@media (max-width: 600px) {
    .vfm-wrapper, .vfm-profile-wrapper {
        padding: 15px 20px;
    }

    .vfm-profile-table th, .vfm-profile-table td {
        padding: 10px;
    }
}
