/* ============================================
   SECURE EXCHANGES — V2 Components
   Modal, Form, and UI component styles
   (Replaces Bootstrap dependency)
   ============================================ */

/* ============================================
   1. MODAL
   ============================================ */
.v2-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.v2-modal-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.v2-modal {
  position: fixed;
  inset: 0;
  z-index: 2050 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  pointer-events: none;
  overflow: hidden;
}

.v2-modal.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.v2-modal-dialog {
    background: var(--se-white, #fff);
    border-radius: 12px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(-20px) scale(0.97);
    transition: transform 0.25s ease;
}

.v2-modal.show .v2-modal-dialog {
    transform: translateY(0) scale(1);
}

.v2-modal-dialog.large {
    max-width: 800px;
}

.v2-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.v2-modal-title {
    font-family: var(--font-body, 'Satoshi', sans-serif);
    font-size: 18px;
    font-weight: 700;
    color: var(--se-navy, #1D2A39);
    margin: 0;
    line-height: 1.3;
}

.v2-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--se-gray-blue, #3F4A57);
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}

.v2-modal-close:hover {
    background: rgba(0, 0, 0, 0.06);
    color: var(--se-navy, #1D2A39);
}

.v2-modal-body {
    padding: 20px 24px;
}

.v2-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 24px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Force bootstrap .modal above V2 backdrop on all pages (including business/stretched) */
.modal {
    z-index: 2050 !important;
}

/* Bootstrap-compatible modal aliases — scoped to V2 pages only */
body:not(.stretched) .modal {
    position: fixed;
    inset: 0;
    z-index: 2050 !important;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    pointer-events: none;
}

body:not(.stretched) .modal.show {
    display: flex;
    pointer-events: auto;
}

body:not(.stretched) .modal .modal-dialog {
    background: var(--se-white, #fff);
    border-radius: 12px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

body:not(.stretched) .modal .modal-dialog.modal-lg {
    max-width: 800px;
}

body:not(.stretched) .modal .modal-content {
    background: transparent;
}

body:not(.stretched) .modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body:not(.stretched) .modal .modal-title {
    font-family: var(--font-body, 'Satoshi', sans-serif);
    font-size: 18px;
    font-weight: 700;
    color: var(--se-navy, #1D2A39);
    margin: 0;
}

body:not(.stretched) .modal .modal-header .close,
body:not(.stretched) .modal .modal-header .v2-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--se-gray-blue, #3F4A57);
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    border-radius: 6px;
}

body:not(.stretched) .modal .modal-header .close:hover {
    background: rgba(0, 0, 0, 0.06);
}

body:not(.stretched) .modal .modal-body {
    padding: 20px 24px;
}

body:not(.stretched) .modal .modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 24px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    flex-wrap: wrap;
}

/* ============================================
   2. FORMS
   ============================================ */
.v2-form-group {
    margin-bottom: 16px;
}

.v2-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--se-navy, #1D2A39);
    margin-bottom: 6px;
}

.v2-form-control {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    font-family: var(--font-body, 'Satoshi', sans-serif);
    color: var(--se-navy, #1D2A39);
    background: var(--se-white, #fff);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.v2-form-control:focus {
    border-color: var(--se-orange, #EE6525);
    box-shadow: 0 0 0 3px rgba(238, 101, 37, 0.12);
}

.v2-form-control.error {
    border-color: var(--se-danger, #DC3545);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.v2-form-control::placeholder {
    color: rgba(0, 0, 0, 0.35);
}

select.v2-form-control {
    appearance: auto;
    cursor: pointer;
}

/* Bootstrap-compatible form aliases — scoped to V2 pages only
   (body.stretched = legacy BaseFullWidth pages using Bootstrap) */
body:not(.stretched) .form-group {
    margin-bottom: 16px;
}

body:not(.stretched) .form-control {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    font-family: var(--font-body, 'Satoshi', sans-serif);
    color: var(--se-navy, #1D2A39);
    background: var(--se-white, #fff);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

body:not(.stretched) .form-control:focus {
    border-color: var(--se-orange, #EE6525);
    box-shadow: 0 0 0 3px rgba(238, 101, 37, 0.12);
}

body:not(.stretched) .form-control.error {
    border-color: var(--se-danger, #DC3545);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

body:not(.stretched) .form-control::placeholder {
    color: rgba(0, 0, 0, 0.35);
}

body:not(.stretched) select.form-control {
    appearance: auto;
    cursor: pointer;
}

body:not(.stretched) .input-sm {
    padding: 6px 10px;
    font-size: 13px;
}

/* Phone input container */
.v2-phone-group {
    display: flex;
    gap: 8px;
}

.v2-phone-group select {
    flex: 0 0 120px;
    min-width: 120px;
}

.v2-phone-group input {
    flex: 1;
}

/* Form row (label + input side by side) */
.v2-form-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.v2-form-row label {
    flex: 0 0 140px;
    margin-bottom: 0;
    text-align: right;
    font-size: 13px;
    font-weight: 600;
    color: var(--se-navy, #1D2A39);
}

.v2-form-row .v2-form-input {
    flex: 1;
}

/* Required field marker */
.fieldRequired::before {
    content: "* ";
    color: var(--se-danger, #DC3545);
    font-size: 14px;
    font-weight: 700;
}

.v2-required-note {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.45);
    margin-top: 8px;
}

/* ============================================
   3. BUTTONS (modal context)
   ============================================ */
.v2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body, 'Satoshi', sans-serif);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
}

.v2-btn:active {
    transform: scale(0.97);
}

.v2-btn-primary {
    background: var(--se-orange, #EE6525);
    color: #fff;
}

.v2-btn-primary:hover {
    background: var(--se-orange-dark, #D55A1F);
}

.v2-btn-secondary {
    background: rgba(0, 0, 0, 0.06);
    color: var(--se-navy, #1D2A39);
}

.v2-btn-secondary:hover {
    background: rgba(0, 0, 0, 0.1);
}

.v2-btn-success {
    background: var(--se-success, #28A745);
    color: #fff;
}

.v2-btn-success:hover {
    background: #228E3B;
}

/* ============================================
   4. FLEXBOX GRID (replaces Bootstrap grid)
   Scoped to V2 pages only (body.stretched = legacy pages using Bootstrap)
   ============================================ */
body:not(.stretched) .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -8px;
    margin-right: -8px;
}

body:not(.stretched) .row > [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
    box-sizing: border-box;
}

body:not(.stretched) .col-1  { flex: 0 0 8.333%;  max-width: 8.333%; }
body:not(.stretched) .col-2  { flex: 0 0 16.666%; max-width: 16.666%; }
body:not(.stretched) .col-3  { flex: 0 0 25%;     max-width: 25%; }
body:not(.stretched) .col-4  { flex: 0 0 33.333%; max-width: 33.333%; }
body:not(.stretched) .col-5  { flex: 0 0 41.666%; max-width: 41.666%; }
body:not(.stretched) .col-6  { flex: 0 0 50%;     max-width: 50%; }
body:not(.stretched) .col-7  { flex: 0 0 58.333%; max-width: 58.333%; }
body:not(.stretched) .col-8  { flex: 0 0 66.666%; max-width: 66.666%; }
body:not(.stretched) .col-9  { flex: 0 0 75%;     max-width: 75%; }
body:not(.stretched) .col-10 { flex: 0 0 83.333%; max-width: 83.333%; }
body:not(.stretched) .col-11 { flex: 0 0 91.666%; max-width: 91.666%; }
body:not(.stretched) .col-12 { flex: 0 0 100%;    max-width: 100%; }

/* MD breakpoint columns (≥768px, fallback to full-width below) */
@media (min-width: 768px) {
    body:not(.stretched) .col-md-1  { flex: 0 0 8.333%;  max-width: 8.333%; }
    body:not(.stretched) .col-md-2  { flex: 0 0 16.666%; max-width: 16.666%; }
    body:not(.stretched) .col-md-3  { flex: 0 0 25%;     max-width: 25%; }
    body:not(.stretched) .col-md-4  { flex: 0 0 33.333%; max-width: 33.333%; }
    body:not(.stretched) .col-md-5  { flex: 0 0 41.666%; max-width: 41.666%; }
    body:not(.stretched) .col-md-6  { flex: 0 0 50%;     max-width: 50%; }
    body:not(.stretched) .col-md-7  { flex: 0 0 58.333%; max-width: 58.333%; }
    body:not(.stretched) .col-md-8  { flex: 0 0 66.666%; max-width: 66.666%; }
    body:not(.stretched) .col-md-9  { flex: 0 0 75%;     max-width: 75%; }
    body:not(.stretched) .col-md-10 { flex: 0 0 83.333%; max-width: 83.333%; }
    body:not(.stretched) .col-md-11 { flex: 0 0 91.666%; max-width: 91.666%; }
    body:not(.stretched) .col-md-12 { flex: 0 0 100%;    max-width: 100%; }
}

@media (max-width: 767px) {
    body:not(.stretched) .col-md-1, body:not(.stretched) .col-md-2,
    body:not(.stretched) .col-md-3, body:not(.stretched) .col-md-4,
    body:not(.stretched) .col-md-5, body:not(.stretched) .col-md-6,
    body:not(.stretched) .col-md-7, body:not(.stretched) .col-md-8,
    body:not(.stretched) .col-md-9, body:not(.stretched) .col-md-10,
    body:not(.stretched) .col-md-11, body:not(.stretched) .col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* LG breakpoint columns */
@media (min-width: 992px) {
    body:not(.stretched) .col-lg-1  { flex: 0 0 8.333%;  max-width: 8.333%; }
    body:not(.stretched) .col-lg-2  { flex: 0 0 16.666%; max-width: 16.666%; }
    body:not(.stretched) .col-lg-3  { flex: 0 0 25%;     max-width: 25%; }
    body:not(.stretched) .col-lg-4  { flex: 0 0 33.333%; max-width: 33.333%; }
    body:not(.stretched) .col-lg-5  { flex: 0 0 41.666%; max-width: 41.666%; }
    body:not(.stretched) .col-lg-6  { flex: 0 0 50%;     max-width: 50%; }
    body:not(.stretched) .col-lg-7  { flex: 0 0 58.333%; max-width: 58.333%; }
    body:not(.stretched) .col-lg-8  { flex: 0 0 66.666%; max-width: 66.666%; }
    body:not(.stretched) .col-lg-9  { flex: 0 0 75%;     max-width: 75%; }
    body:not(.stretched) .col-lg-10 { flex: 0 0 83.333%; max-width: 83.333%; }
    body:not(.stretched) .col-lg-11 { flex: 0 0 91.666%; max-width: 91.666%; }
    body:not(.stretched) .col-lg-12 { flex: 0 0 100%;    max-width: 100%; }
}

/* XS columns (always apply) */
body:not(.stretched) .col-xs-1  { flex: 0 0 8.333%;  max-width: 8.333%; }
body:not(.stretched) .col-xs-2  { flex: 0 0 16.666%; max-width: 16.666%; }
body:not(.stretched) .col-xs-3  { flex: 0 0 25%;     max-width: 25%; }
body:not(.stretched) .col-xs-4  { flex: 0 0 33.333%; max-width: 33.333%; }
body:not(.stretched) .col-xs-5  { flex: 0 0 41.666%; max-width: 41.666%; }
body:not(.stretched) .col-xs-6  { flex: 0 0 50%;     max-width: 50%; }
body:not(.stretched) .col-xs-7  { flex: 0 0 58.333%; max-width: 58.333%; }
body:not(.stretched) .col-xs-8  { flex: 0 0 66.666%; max-width: 66.666%; }
body:not(.stretched) .col-xs-9  { flex: 0 0 75%;     max-width: 75%; }
body:not(.stretched) .col-xs-10 { flex: 0 0 83.333%; max-width: 83.333%; }
body:not(.stretched) .col-xs-11 { flex: 0 0 91.666%; max-width: 91.666%; }
body:not(.stretched) .col-xs-12 { flex: 0 0 100%;    max-width: 100%; }

/* ============================================
   5. TABLE STYLES — scoped to V2 pages only
   ============================================ */
body:not(.stretched) .table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

body:not(.stretched) .table th,
body:not(.stretched) .table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body:not(.stretched) .table thead th {
    font-weight: 600;
    color: var(--se-navy, #1D2A39);
    border-bottom: 2px solid rgba(0, 0, 0, 0.12);
}

body:not(.stretched) .table-striped tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.02);
}

/* ============================================
   5b. LEGACY TOOLBAR FIX
   FA 7 sets width: var(--fa-width,1.25em) on all icons.
   Legacy toolbar buttons need icons to stretch full-width
   so text-align:center can visually center the glyph.
   ============================================ */
body.stretched .toolbar span i {
    width: auto;
}

/* ============================================
   6. UTILITY CLASSES
   ============================================ */
.hidden {
    display: none !important;
}

.tright { text-align: right; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.nopadding, .no-padding { padding: 0; }
.nomargin { margin: 0; }

/* Spacing utilities */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.pb-2 { padding-bottom: 8px; }
.pt-2 { padding-top: 8px; }
.pl-2 { padding-left: 8px; }
.p-1 { padding: 4px; }
.p0 { padding: 0; }
.small { font-size: 12px; }

.offset-bottom-10 { margin-bottom: 10px; }
.offset-top-30 { margin-top: 30px; }

/* Alert */
.alert-success {
    color: var(--se-success, #28A745);
    background: rgba(40, 167, 69, 0.08);
    padding: 4px 10px;
    border-radius: 4px;
}

/* ============================================
   7. TOASTR OVERRIDES — V2 Modern Notifications
   Uses inline SVG icons (no Font Awesome dependency)
   ============================================ */

/* Container positioning */
#toast-container {
    position: fixed;
    z-index: 999999;
}

#toast-container * {
    box-sizing: border-box;
}

/* Base toast card */
#toast-container > div {
    position: relative;
    overflow: hidden;
    margin: 0 0 10px;
    padding: 16px 16px 16px 56px;
    width: 380px;
    max-width: calc(100vw - 24px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    font-family: var(--font-body, 'Satoshi', sans-serif);
    font-size: 0.9rem;
    line-height: 1.5;
    color: #fff;
    opacity: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: opacity 0.3s, transform 0.3s;
    background-position: 16px center;
    background-repeat: no-repeat;
    background-size: 24px 24px;
}

#toast-container > div:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
    opacity: 1;
    cursor: pointer;
    transform: translateY(-1px);
}

/* Title & message */
.toast-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 2px;
    padding-left: 0;
}

.toast-message {
    font-weight: 400;
    font-size: 0.85rem;
    opacity: 0.92;
    word-wrap: break-word;
    padding-left: 0;
}

.toast-message a,
.toast-message label {
    color: #fff;
    text-decoration: underline;
}

.toast-message a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Close button */
.toast-close-button {
    position: absolute;
    right: 12px;
    top: 12px;
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.toast-close-button:hover {
    color: #fff;
}

/* Progress bar */
.toast-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 0 0 12px 12px;
}

/* ---- Type-specific styles with SVG icons ---- */

/* Success — green */
.toast-success {
    background-color: #0d9f6e;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.9)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E");
}

/* Error / Danger — red */
.toast-error {
    background-color: #dc2626;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.9)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='15' y1='9' x2='9' y2='15'/%3E%3Cline x1='9' y1='9' x2='15' y2='15'/%3E%3C/svg%3E");
}

/* Warning — amber */
.toast-warning {
    background-color: #d97706;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.9)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E");
}

/* Info — blue */
.toast-info {
    background-color: #2563eb;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.9)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E");
}

/* Remove the old Font Awesome pseudo-element icons */
#toast-container > .toast-info:before,
#toast-container > .toast-error:before,
#toast-container > .toast-success:before,
#toast-container > .toast-warning:before {
    content: none;
}

/* Responsive */
@media (max-width: 480px) {
    #toast-container > div {
        width: calc(100vw - 24px);
        padding: 14px 14px 14px 52px;
        border-radius: 10px;
        background-size: 20px 20px;
        background-position: 14px center;
    }
}

/* Center variants */
#toast-container.toast-bottom-center > div,
#toast-container.toast-top-center > div {
    width: 380px;
    max-width: calc(100vw - 24px);
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   6. CHAT WIDGET
   Styles for the Zoho SalesIQ chat container
   (replaces iframe { border: none } from style.css)
   ============================================ */
#frameChatContainer {
    position: fixed !important;
    bottom: 0 !important;
    right: 0 !important;
    z-index: 1000;
    pointer-events: auto;
}

#frameChatContainer iframe {
    border: none !important;
    display: block;
    width: 100%;
    height: 100%;
}

/* Global iframe reset (was in old style.css) */
iframe {
    border: none;
}

/* ============================================
   SECURITY CARD — Shared dark blue card component
   Used across feature pages, signature, etc.
   ============================================ */
.se-security-card {
    background: linear-gradient(135deg, var(--se-navy) 0%, var(--se-navy-light) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    color: var(--se-white);
}

body:not(.stretched) .se-security-card h3 {
    font-family: var(--font-heading);
    font-weight: normal;
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--se-white);
}

.se-security-card h3 i {
    color: var(--se-orange);
}

.se-security-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.se-security-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
}

.se-security-feature:hover {
    background: rgba(255, 255, 255, 0.12);
}

.se-security-feature i {
    color: var(--se-orange);
}

/* ============================================
   Mobile Responsive < 768px
   ============================================ */
@media (max-width: 767.98px) {
    .v2-modal-dialog {
        max-width: calc(100vw - 30px);
        margin: 0 15px;
    }

    .v2-form-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .v2-form-row label {
        flex: none;
        text-align: left;
        width: 100%;
    }

    .v2-form-row .v2-form-input {
        width: 100%;
    }

    .v2-phone-group select {
        flex: 0 0 100px;
        min-width: 100px;
    }

    .se-security-card h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .v2-modal {
        padding: 10px;
    }

    .v2-modal-dialog {
        max-width: calc(100vw - 20px);
        margin: 0 10px;
    }

    .v2-modal-title {
        font-size: 16px;
    }

    .v2-btn {
        padding: 8px 14px;
        font-size: 13px;
    }

    .v2-phone-group {
        flex-wrap: wrap;
    }

    .v2-phone-group select {
        flex: 0 0 90px;
        min-width: 90px;
    }

    #toast-container > div {
        width: auto;
        max-width: calc(100vw - 24px);
        min-width: 280px;
    }

    .table-responsive,
    .v2-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}
