.service-form-page {
    margin: 0;
    padding: 30px;
    font-family: 'Poppins', sans-serif;
    color: #111827;
}

.service-form-hero {
background: #ecfeff;
    border: 1px solid #a5f3fc;
    border-radius: 18px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.service-form-hero h1 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -0.02em;
    font-weight: 600;
}

.service-form-hero .lede {
    max-width: 780px;
        margin: 0;
    color: #475569;
    margin-top: -2px;
    font-size: 14px;
}

.hero-meta {
    min-width: 260px;
    text-align: right;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0;
    font-weight: 600;
    color: #828282;
    font-size: 12px;
    margin: 0;
    margin-bottom: -3px;
}

.lede {
    font-size: 16px;
    line-height: 1.5;
}

.muted {
color: #6b7280;
    margin: 0;
    font-size: 14px;
}

.service-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 18px;
}

.form-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.form-card p{
    margin: 0;
    color: #475569;
    margin-top: -2px;
    font-size: 14px;
    line-height: 1.2;
    margin-bottom: 5px;
}

.form-card h3 {
    font-weight: 600;
    margin: 0;
    font-size: 1.2em;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}
.field-grid label{
    font-size: 13px;
    font-weight: 500;
    color: #5c5b5b;
    margin-bottom: -4px;
}

.ve-input,
.ve-input--table,
textarea.ve-input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    min-height: 42px;
}

.ve-input:focus,
.ve-input--table:focus {
    outline: 2px solid #2563eb;
    border-color: #2563eb;
}

.energy-table-wrapper {
    overflow-x: auto;
}

.energy-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 960px;
}

.energy-table th,
.energy-table td {
    border: 1px solid #e5e7eb;
    padding: 8px;
    vertical-align: middle;
    font-size: 13px;
}

.energy-table th {
    background: #f9fafb;
    text-align: left;
    font-weight: 600;
}

.ve-input--table {
    min-width: 120px;
}

.table-actions {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ve-secondary {
    background: #0f172a;
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
}

.link-button {
    border: none;
    background: transparent;
    color: #ef4444;
    font-size: 20px;
    cursor: pointer;
}

.upload-card {
    margin: 22px 0;
    border: 1px dashed #cecece;
    border-radius: 14px;
    padding: 18px;
    background: rgb(0 0 0 / 3%);
}

.upload-header {
    margin-bottom: 12px;
}
.upload-header p{
    font-size: 14px;
    margin: 0;
    text-align: center;
}

.upload-action {
    text-align: center;
}

.upload-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 40px;
    background: #ffffff;
    color: #000000;
    font-weight: 400;
    cursor: pointer;
    text-transform: lowercase;
    border: 1px solid #8f8f8f;
    transition: .3s ease all;
    margin-bottom: 8px;
}

.upload-button:hover {
    border: 1px solid #000;
}

.file-input {
    display: none;
}

.upload-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
    align-items: center;
}

.upload-pill {
    background: #e0f2fe;
    color: #0f172a;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 13px;
}

.form-actions {
    margin-top: 18px;
    text-align: center;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 6px;
}

.ve-primary {
    background: #3F6AE1;
    color: #fff;
    border: none;
    padding: 12px 22px;
    font-weight: 400;
    font-size: 15px;
    cursor: pointer;
    min-width: 250px;
}

.ve-primary:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    color: #6b7280;
}

.form-errors {
    border: 1px solid #f87171;
    background: #fef2f2;
    color: #991b1b;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.field-error {
    color: #b91c1c;
    margin-top: 6px;
}

.service-success {
    border: 1px solid #bbf7d0;
    background: #ecfdf3;
    padding: 22px;
    border-radius: 16px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
    align-items: start;
}

.reference-box {
    background: #0f172a;
    color: #fff;
    padding: 10px 14px;
    border-radius: 12px;
    display: inline-block;
    margin-top: 8px;
}

.success-note ul {
    padding-left: 18px;
    margin: 8px 0 0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}

.form-tile {
    display: block;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px;
    color: inherit;
    text-decoration: none;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

.form-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.form-tile__footer {
    font-weight: 600;
    color: #0f172a;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .service-form-hero {
        flex-direction: column;
        text-align: left;
    }

    .hero-meta {
        width: 100%;
        text-align: left;
    }

    .service-success {
        grid-template-columns: 1fr;
    }
}
