/*
 * Business Plan Proposal (BPP) Form Styling
 * --- "SUPER" Version ---
 */

/* --- Main Form Container --- */
.bpp-form-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    max-width: 800px;
    margin: 30px auto;
    padding: 40px; /* More padding */
    background-color: #ffffff;
    border-radius: 16px; /* Softer, larger radius */
    /* A more pronounced, modern shadow */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef; /* Lighter border */
    line-height: 1.6;
}

.bpp-form-container h2 {
    text-align: center;
    color: #1a202c; /* Darker, more modern color */
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 700;
}

.bpp-form-container p {
    text-align: center;
    font-size: 1.1em;
    color: #4a5568; /* Softer gray */
    margin-bottom: 35px;
}

/* --- Fieldsets (Modern Grouping) --- */
.bpp-form-container fieldset {
    border: 1px solid #e9ecef;
    border-left-width: 5px; /* Key accent */
    border-left-color: #007BFF; /* A vibrant blue */
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    background-color: #f8f9fa; /* Slight off-white */
}

.bpp-form-container legend {
    font-size: 1.4em; /* Larger */
    font-weight: 700;
    color: #0056b3; /* Darker version of the border blue */
    padding: 0 10px;
    margin-left: -10px; /* Align with padding */
}

/* --- Form Groups & Labels --- */
.bpp-form-group {
    margin-bottom: 22px;
}

.bpp-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2d3748;
    font-size: 1.05em;
}

/* --- Input Fields (Text, Email, Select, Textarea) --- */
.bpp-form-container input[type="text"],
.bpp-form-container input[type="email"],
.bpp-form-container input[type="tel"],
.bpp-form-container select,
.bpp-form-container textarea {
    width: 100%;
    padding: 14px 18px; /* More padding for a premium feel */
    border: 1px solid #ced4da;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #fff;
}

.bpp-form-container input[type="file"] {
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    font-size: 0.95em;
}

.bpp-form-container textarea {
    min-height: 120px;
    resize: vertical;
}

/* --- "Super" Focus State --- */
.bpp-form-container input:focus,
.bpp-form-container select:focus,
.bpp-form-container textarea:focus {
    border-color: #007BFF;
    /* A blue glow shadow */
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25); 
    outline: none;
}

/* --- "Super" Submit Button --- */
.bpp-submit-button {
    display: block;
    width: 100%;
    padding: 16px;
    /* A nice gradient */
    background: linear-gradient(90deg, #007BFF 0%, #0056b3 100%);
    color: white;
    font-size: 1.25em;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.bpp-submit-button:hover {
    /* Brighter on hover */
    background: linear-gradient(90deg, #0088ff 0%, #0062cc 100%);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    transform: translateY(-3px); /* Add a lift */
}

.bpp-submit-button:active {
    transform: translateY(-1px); /* Press down effect */
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
}

/* --- Entries Table (for Display Shortcode) --- */
/* This part of the CSS is no longer used, but it doesn't hurt to keep it */
.bpp-entries-container {
    max-width: 800px;
    margin: 25px auto;
}

.bpp-entries-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden; /* For border-radius */
}

.bpp-entries-table th,
.bpp-entries-table td {
    border-bottom: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
}

.bpp-entries-table th {
    background-color: #0056b3; /* Stronger header */
    color: #ffffff; /* White text */
    font-weight: 700;
    padding: 14px 15px;
}

.bpp-entries-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.bpp-entries-table tr:hover {
    background-color: #f1f1f1;
}

.bpp-entries-table tr:last-child td {
    border-bottom: none;
}