/* Main page */
html,
body.skin-purple.sidebar-hidden.app-frontend.ctrl-lists.act-subscribe,
body.skin-purple .wrapper,
body.skin-purple .content-wrapper,
body.skin-purple .content {
    background: #dfe4ee !important;
    background-color: #dfe4ee !important;
}

/* Main form container */
.box.box-primary.borderless {
    width: 100%;
    max-width: 850px;
    margin-top: 0 !important;
    margin: 35px auto 45px;
    padding: 35px;
    border: 1px solid #7f98ca !important;
    border-radius: 12px;
    box-shadow: none !important;
    background: #dce3fc !important;
    background-color: #dce3fc !important;
    box-sizing: border-box;
}

.box.box-primary.borderless .box-header,
.box.box-primary.borderless .box-body,
.box.box-primary.borderless .box-footer {
    background: transparent !important;
    background-color: transparent !important;
}

/* Heading area */
.box-header {
    background: transparent !important;
    border-bottom: none !important;
    padding: 0 0 18px !important;
}

.box-title {
    color: #264ca6 !important;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px;
}

/* Form body */
.box-body {
    padding: 0 !important;
    color: #111111;
    margin-top: -55px;
    line-height: 1.7;
    background: #dfe4ee !important;
}

/* Information message */
.callout.callout-info {
    background: #cad5fa !important;
    border: none !important;
    border-left: 6px solid #264ca6 !important;
    color: #13136e !important;
    border-radius: 8px;
    padding: 18px 20px;
    margin: 0 0 25px;
    line-height: 1.7;
    box-shadow: none !important;
}

.callout-info {
    background-color: #cad5fa !important;
    border-color: #264ca6 !important;
}

/* Links */
.callout.callout-info a {
    color: #264ca6 !important;
    text-decoration: underline;
}

.callout.callout-info a:hover {
    color: #13136e !important;
}

/* Form labels */
.box-body label {
    display: block;
    color: #264ca6;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Form fields */
.box-body .form-control,
.box-body input[type="text"],
.box-body input[type="email"],
.box-body input[type="tel"],
.box-body select,
.box-body textarea {
    width: 100%;
    max-width: 100%;
    padding: 12px 15px;
    border: 1px solid #b8c3de;
    border-radius: 7px;
    background: #ffffff;
    color: #111111;
    box-sizing: border-box;
    box-shadow: none;
    transition: border-color 0.2s ease;
}

/* Field focus */
.box-body .form-control:focus,
.box-body input:focus,
.box-body select:focus,
.box-body textarea:focus {
    border-color: #264ca6;
    outline: none;
    box-shadow: 0 0 0 2px rgba(38, 76, 166, 0.12);
}

/* Field spacing */
.box-body .form-group {
    margin-bottom: 20px;
}

/* Checkbox and radio buttons */
.box-body input[type="checkbox"],
.box-body input[type="radio"] {
    accent-color: #264ca6;
}

/* Footer */
.box-footer {
    background: transparent !important;
    border-top: none !important;
    padding: 20px 0 0 !important;
}

/* Submit button */
.box-footer .btn,
.box-footer .btn-primary,
.box-footer button[type="submit"],
.box-footer input[type="submit"] {
    display: inline-block;
    padding: 13px 26px !important;
    background: #7f98ca !important;
    border: 1px solid #7f98ca !important;
    color: #ffffff !important;
    border-radius: 7px !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    box-shadow: none !important;
    cursor: pointer;
    transition: background 0.2s ease;
}

/* Submit button hover */
.box-footer .btn:hover,
.box-footer .btn:focus,
.box-footer .btn-primary:hover,
.box-footer .btn-primary:focus,
.box-footer button[type="submit"]:hover,
.box-footer button[type="submit"]:focus,
.box-footer input[type="submit"]:hover,
.box-footer input[type="submit"]:focus {
    background: #a3b5d9 !important;
    border-color: #a3b5d9 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

/* General links */
.box-body a {
    color: #264ca6;
    text-decoration: underline;
}

.box-body a:hover {
    color: #13136e;
}

/* Validation messages */
.box-body .help-block {
    margin-top: 6px;
    font-size: 13px;
}

.box-body .has-error .form-control {
    border-color: #a94442;
}

/* Responsive layout */
@media (max-width: 768px) {
    .box.box-primary.borderless {
        margin: 25px auto 35px;
        padding: 25px 20px;
    }

    .box-title {
        font-size: 24px;
    }

    .callout.callout-info {
        padding: 15px 18px;
    }

    .box-footer .pull-right {
        float: none !important;
        width: 100%;
    }

    .box-footer .btn,
    .box-footer button[type="submit"],
    .box-footer input[type="submit"] {
        width: 100%;
        text-align: center;
    }
}

html,
body.skin-purple.app-frontend.ctrl-lists.act-subscribe,
body.skin-purple.app-frontend.ctrl-lists.act-subscribe .wrapper,
body.skin-purple.app-frontend.ctrl-lists.act-subscribe .content-wrapper,
body.skin-purple.app-frontend.ctrl-lists.act-subscribe .container-fluid,
body.skin-purple.app-frontend.ctrl-lists.act-subscribe .row-large {
    background-color: #ced6e5 !important;
}

/* Field labels left, input fields right */
.box-body .form-group {
    display: grid !important;
    grid-template-columns: 85px minmax(0, 1fr);
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.box-body .form-group > label {
    margin: 0 !important;
    text-align: left;
}

.box-body .form-group > .form-control,
.box-body .form-group > input,
.box-body .form-group > select,
.box-body .form-group > textarea {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
}

@media (max-width: 768px) {
    .box-body .form-group {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

.box-footer .pull-right {
    float: none !important;
    width: 100%;
}

.box-footer input[type="submit"] {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box;
}

/* NEWSLETTER FORM HEADINGS */
.newsletter-heading {
    color: #7f98ca;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.0;
    margin: 0 0 12px;
    text-align: center;
}

.newsletter-subheading {
    color: #a3b5d9;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 15px;
    text-align: center;
}

.newsletter-description {
    color: #485171;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    margin: 0 0 30px;
    text-align: center;
}

@media (max-width: 768px) {
    .newsletter-heading {
        font-size: 25px;
    }

    .newsletter-subheading {
        font-size: 18px;
    }

    .newsletter-description {
        font-size: 15px;
    }
}

/* The security lock message */
.newsletter-security {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    padding: 12px 15px;
    background: #fff8e8;
    border: 1px solid #f0d9a0;
    border-radius: 7px;
    color: #66552e;
    font-size: 13px;
    line-height: 1.6;
}

.security-lock {
    color: #e5a12b;
    font-size: 22px;
    flex-shrink: 0;
}

.box-body .form-group {
    row-gap: 5px !important;
    margin-bottom: 10px !important;
}