/* Shared primary button styles - kept in sync with public/assets/energy/css/style.css.
   Do not redefine .btn-primary anywhere else; include this file (or rely on
   style.css already being loaded via energy.layout) instead of copying these
   rules into a page-specific stylesheet again. */

.btn-primary,
.btn-green {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: #58BDE2 !important;
    color: #fff !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    text-decoration: none;
    border-radius: 8px !important;
    border: 1px solid #58BDE2 !important;
}

.btn-primary:hover {
    background: var(--brand-dark-500) !important;
    color: #fff !important;
    border-color: var(--brand-dark-500) !important;
}

a.btn-primary.top-btn-pad {
    display: inline-block !important;
    position: relative !important;
    margin-top: 20px !important;
}

/* Responsive sizing, copied from the matching breakpoints in style.css so
   .btn-primary behaves identically on every device regardless of which
   stylesheet a page loads. */
@media(max-width: 991px) {
    .btn-primary,
    .btn-green {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 35px;
        padding: 8px 24px;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.3s ease;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.02em;
        text-decoration: none;
        white-space: nowrap;
        min-width: 100px;
        padding: 8px 20px;
        text-align: center;
    }

    .btn-primary {
        border: none;
    }

    .btn-green {
        border: 1px solid var(--dark-900);
    }
}

@media(max-width: 1199px) {
    .btn-primary,
    .btn-green {
        font-size: 14px !important;
        padding: 8px 14px !important;
    }
}
