/* Newsletter popup (Fluent Form) - join the email field and Subscribe button
   into one seamless bar, matching the reference design (no gap between them). */
#modalSubscribe .fluentform form {
    display: flex;
    align-items: stretch;
}
#modalSubscribe .fluentform .ff-el-group {
    margin: 0;
    flex: 1 1 auto;
}
#modalSubscribe .fluentform input[type="email"],
#modalSubscribe .fluentform input[type="text"] {
    width: 100%;
    height: 100%;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}
#modalSubscribe .fluentform .ff_submit_btn_wrapper,
#modalSubscribe .fluentform button[type="submit"] {
    margin: 0;
    flex: 0 0 auto;
    white-space: nowrap;
}
#modalSubscribe .fluentform button[type="submit"] {
    height: 100%;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
/* Portal Login sidebar box (Client Portal page only) */
.epsilon-portal-login-box {
    max-width: 280px;
    border: 1px solid #c3d7ea;
    border-radius: 4px;
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.epsilon-portal-login-header {
    background: linear-gradient(to bottom, #f0f6fb, #dae8f5);
    border-bottom: 1px solid #c3d7ea;
    padding: 12px 14px;
    display: flex;
    align-items: center;
}
.epsilon-portal-login-icon {
    background: #3a5674;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-right: 10px;
    flex-shrink: 0;
}
.epsilon-portal-login-title {
    color: #2c4257;
    font-weight: bold;
    font-size: 19px;
}
.epsilon-portal-login-body {
    background: #eef5fb;
    padding: 16px 14px 14px 14px;
}
.epsilon-portal-field {
    margin: 0 0 12px 0;
    line-height: 1;
}
.epsilon-portal-field label {
    font-weight: bold;
    color: #333;
    display: inline-block;
    margin: 0 0 6px 0;
    padding: 0;
    font-size: 13px;
    line-height: 1;
}
.epsilon-required {
    color: #d9534f;
    margin-left: 2px;
}
.epsilon-portal-input {
    width: 100%;
    box-sizing: border-box;
    display: block;
    height: 34px;
    padding: 0 10px;
    margin: 0;
    border: 1px solid #a8b8c7;
    border-radius: 2px;
    background: #fff;
    font-size: 14px;
}
.epsilon-portal-input:focus {
    outline: none;
    border-color: #6b9bd1;
    box-shadow: 0 0 3px rgba(107,155,209,0.5);
}
.epsilon-portal-login-btn {
    background: linear-gradient(to bottom, #ffffff, #e2e2e2);
    border: 1px solid #adadad;
    border-radius: 3px;
    color: #333;
    padding: 7px 18px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 2px;
}
.epsilon-portal-login-btn:hover {
    background: linear-gradient(to bottom, #f7f7f7, #d5d5d5);
}