
    .outerjs-tool {
        position: relative;
        background: #ffffff;
       }
 
    .outerjs-tool__alert {
        display: none;
        margin-bottom: 1rem;
        border-radius: 0.5rem;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
        font-weight: 500;
        color: #991b1b;
        background: #fee2e2;
        border: 1px solid #fecaca;
    }
    #alert:not(:empty) {
        display: block;
    }
    .outerjs-tool .tools-forex-margin-calculator {
        border: 1px solid #e5e7eb;
        border-radius: 0.75rem;
        background: #ffffff;
        overflow: hidden;
        box-shadow: 0 10px 25px -15px rgba(15, 23, 42, 0.25);
    }
    .outerjs-tool .safe-ft-title {
        padding: 1rem 1.25rem;
        font-size: 1.125rem;
        font-weight: 600;
        color: #0f172a;
        transition: background-color 0.2s ease, color 0.2s ease;
    }
    .outerjs-tool .safe-ft-title:hover {
        background-color: #f1f5f9;
    }
    .outerjs-tool .safe-ft-title-icon {
        width: 1.25rem;
        height: 1.25rem;
        transition: transform 0.3s ease;
    }
    .outerjs-tool .safe-ft-body {
        padding: 1.5rem 1.25rem 1.75rem;
        border-top: 1px solid #e5e7eb;
        background: #ffffff;
    }
    .outerjs-tool .safe-ft-container {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .outerjs-tool .safe-ft-card {
        display: grid;
        gap: 0.75rem;
    }
    @media (min-width: 768px) {
        .outerjs-tool .safe-ft-card {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 1rem;
        }
    }
    .outerjs-tool .form-control {
        width: 100%;
        border: 1px solid #d1d5db;
        border-radius: 0.5rem;
        padding: 0.625rem 0.75rem;
        background: #f9fafb;
        transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
        font-size: 0.95rem;
    }
    .outerjs-tool .form-control:focus {
        outline: none;
        border-color: #0ea5e9;
        box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
        background: #ffffff;
    }
    .outerjs-tool .btn.btn-default {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 0.75rem 1rem;
        border-radius: 0.5rem;
        background: linear-gradient(135deg, #0ea5e9, #0284c7);
        color: #ffffff;
        font-weight: 600;
        border: none;
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .outerjs-tool .btn.btn-default:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 18px -12px rgba(14, 165, 233, 0.6);
    }
    .outerjs-tool .btn.btn-default:active {
        transform: translateY(0);
        box-shadow: none;
    }
    .outerjs-tool .margin-result {
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 0.75rem;
        background: #f0f9ff;
        border: 1px solid #bae6fd;
        color: #0369a1;
    }
    .outerjs-tool .margin-result hr {
        border-color: #bae6fd;
    }
    .outerjs-tool .margin-result label {
        font-weight: 600;
        margin-bottom: 0.25rem;
        display: inline-block;
    }
    .outerjs-tool .margin-result #margin {
        font-size: 1.25rem;
    }
    .outerjs-tool .undeline {
        text-decoration: underline;
    }
    .outerjs-tool__placeholder {
        text-align: center;
        padding: 1rem;
    }

.outerjs-tool + .outerjs-tool {
    margin-top: 0;
}

.outerjs-tool .tools {
    margin: 0 !important;
}

.outerjs-tool .calc-container,
.outerjs-tool .pp_-container {
    margin-bottom: 0 !important;
}

/* Forex quote outer content styling */
.outer-konten {
   /* font-family: "Inter", "Segoe UI", Arial, sans-serif; */
    font-size: 0.95rem;
    color: #0f172a;
    max-width: 100%;
    overflow-x: auto;
    margin: 0 !important;
}

.outer-konten > .border {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 12px 35px -20px rgba(15, 23, 42, 0.45);
}

.outer-konten .p-2 {
    padding: 0.9rem 1.25rem !important;
    background: #f8fafc;
    color: #0f172a;
}

.outer-konten .p-2 a {
    color: inherit !important;
    text-decoration: none;
}

.outer-konten .p-2 a:hover {
    text-decoration: underline;
}

.outer-konten .table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 0.92rem;
    color: #0f172a;
}

.outer-konten .table tr:nth-child(odd) {
    background: #ffffff;
}

.outer-konten .table tr:nth-child(even) {
    background: #f8fafc;
}

.outer-konten .table tr:first-child {
    background: #eef2ff;
    color: #374151;
}

.outer-konten .table td {
    padding: 0.3rem 0.5rem;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
    white-space: nowrap;
}

.outer-konten .table tr:last-child td {
    border-bottom: none;
}

.outer-konten .table img {
    display: inline-block;
    margin: 0 0.25rem;
    vertical-align: middle;
    border-radius: 2px;
}

.outer-konten .fa {
    font-size: 1rem;
    vertical-align: middle;
    margin-left: 0.25rem;
}

.outer-konten .text-danger {
    color: #dc2626 !important;
}

.outer-konten .text-success {
    color: #16a34a !important;
}

@media (max-width: 768px) {
    .outer-konten {
        font-size: 0.9rem;
    }

    .outer-konten .table td {
        padding: 0.35rem 0.5rem;
    }

    .outer-konten .hide-tablet {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .outer-konten > .border {
        border-radius: 0.6rem;
    }

    .outer-konten .table {
        font-size: 0.88rem;
    }

    .outer-konten .table td:first-child {
        padding-left: 0.85rem;
    }
}
