.Rahunok-container {
    margin: 0 auto;
    background-color: #1d1e28;
    padding: 20px;
    max-width: 1100px;
}

.Rahunok-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 20px;
}

.Rahunok-header-column {
    width: 48%;
}

.Rahunok-header p,
.Rahunok-notes p,
.Rahunok-contact-info p,
.Rahunok-signature p,
.Rahunok-cut-line p,
.Rahunok-warnings p,
.Rahunok-payment-details p {
    margin: 4px 0 !important;
}

.Rahunok-invoice-title {
    text-align: center;
    font-weight: bold;
    margin: 20px 0;
}

.Rahunok-table-section {
    overflow-x: auto;
    margin-bottom: 20px;
}

.Rahunok-table-wrapper {
    min-width: 600px;
}

.Rahunok-table-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.Rahunok-table-section th,
.Rahunok-table-section td {
    border: 1px solid rgba(37, 218, 219, 0.35);
    padding: 6px;
    text-align: center;
    word-wrap: break-word;
}

.Rahunok-table-section th {
    background-color: #252630;
    font-weight: bold;
}

.Rahunok-table-section td.Rahunok-text-left {
    text-align: left;
}

.Rahunok-warnings {
    margin: 15px 0;
    padding: 10px;
    background-color: #252630;
    border-left: 3px solid #10b981;
}

.Rahunok-payment-details {
    margin: 20px 0;
}

.Rahunok-payment-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

.Rahunok-payment-table tr {
    border-bottom: 1px solid rgba(37, 218, 219, 0.2);
}

.Rahunok-payment-table td {
    padding: 8px;
}

.Rahunok-payment-table td:first-child {
    text-align: left;
    width: 70%;
}

.Rahunok-payment-table td:last-child {
    text-align: right;
    width: 30%;
}

.Rahunok-highlight-row {
    background-color: #252630;
    font-weight: bold;
}

.Rahunok-highlight-row td {
    padding: 12px 8px !important;
    font-size: 0.9rem !important;
}

.Rahunok-notes {
    margin: 15px 0;
}

.Rahunok-contact-info {
    margin: 15px 0;
}

.Rahunok-signature {
    margin: 20px 0;
}

.Rahunok-note-label {
    position: relative;
    display: inline-block;
    cursor: help;
}

.Rahunok-note-label::after,
.Rahunok__has-note::after {
    content: "*";
    color: #ef4444;
    margin-left: 4px;
    font-weight: bold;
}

.Rahunok__has-note {
    position: relative;
    cursor: help;
    background-color: #ffffff17;
    padding: 2px 4px;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.Rahunok__has-note:hover {
    box-shadow: 0 0 20px 2.5px rgba(16, 94, 98, 0.8);
}

.Rahunok-cut-line {
    border-top: 2px dashed #a0aec0;
    padding-top: 15px;
    margin-top: 30px;
}

.Rahunok-cut-line p:first-child {
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
}

.Rahunok-text-sm {
    font-size: 0.8rem;
}

.Rahunok-font-bold {
    font-weight: bold;
}

.Rahunok-text-left {
    text-align: left;
}

.Rahunok-link {
    color: #25dadb;
    text-decoration: none;
}

.Rahunok-link:hover {
    text-decoration: underline;
}

.Rahunok-space {
    margin-bottom: 10px;
}

.Rahunok__tooltip {
    position: fixed;
    z-index: 99999;
    max-width: 320px;
    background: #0b1220;
    padding: 10px 12px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.45);
    font-size: 13px;
    line-height: 1.35;
    transform-origin: top left;
    opacity: 0;
    pointer-events: none;
    transition: transform 160ms cubic-bezier(.2, .9, .3, 1), opacity 120ms ease;
    will-change: transform, opacity;
}

.Rahunok__tooltip,
.Rahunok__tooltip .Rahunok__tooltip-body {
    color: #d3f157 !important;
}

.Rahunok__tooltip.Rahunok__tooltip--visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.Rahunok__tooltip.Rahunok__tooltip--hidden {
    transform: translateY(-6px) scale(0.98);
}

.Rahunok__tooltip .Rahunok__tooltip-body {
    font-size: 13px;
    color: #e6eefc;
}

.Rahunok__tooltip::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    background: #0b1220;
    transform: rotate(45deg);
    left: 16px;
    top: -6px;
    box-shadow: -1px -1px 1px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .Rahunok-container {
        padding: 10px;
    }

    .Rahunok-header {
        flex-direction: column;
    }

    .Rahunok-header-column {
        width: 100%;
        margin-bottom: 10px;
    }

    .Rahunok-table-section {
        overflow-x: scroll;
    }

    .Rahunok-table-section table {
        font-size: 10px;
    }

    .Rahunok-table-section th,
    .Rahunok-table-section td {
        padding: 4px;
    }

    .Rahunok__tooltip {
        left: 16px !important;
        right: 16px !important;
        bottom: 16px !important;
        top: auto !important;
        max-width: none;
    }
}
