.cards-page {
    position: relative;
    padding-bottom: 70px;
    overflow: hidden;
}

.cards-page::before,
.cards-page::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(90px);
}

.cards-page::before {
    width: 430px;
    height: 430px;
    top: 80px;
    right: -220px;
    background: rgba(255, 37, 37, .12);
}

.cards-page::after {
    width: 360px;
    height: 360px;
    left: -240px;
    bottom: 130px;
    background: rgba(66, 104, 234, .08);
}

.cards-page-shell {
    width: 100%;
}

.cards-hero,
.cards-shell {
    border: 1px solid rgba(112, 112, 112, .72);
    background: linear-gradient(145deg, #252525 0%, #1c1c1c 70%, #171717 100%);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .16), inset 0 1px 0 rgba(255, 255, 255, .035);
}

.cards-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    overflow: hidden;
    padding: 30px 32px;
    margin-bottom: 24px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 86% 8%, rgba(255, 37, 37, .2), transparent 27%),
        linear-gradient(110deg, rgba(40, 25, 30, .96), rgba(37, 37, 37, .92));
}

.cards-hero::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: 12%;
    top: -165px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    box-shadow: 0 0 0 22px rgba(255, 255, 255, .025), 0 0 0 44px rgba(255, 255, 255, .018);
    pointer-events: none;
}

.cards-hero-copy,
.cards-hero-badge {
    position: relative;
    z-index: 1;
}

.cards-eyebrow,
.cards-section-kicker {
    display: block;
    color: #ff5b5b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.cards-eyebrow {
    margin-bottom: 8px;
}

.cards-hero h1,
.cards-shell h2 {
    margin: 0;
    color: #fff;
    font-weight: 900;
}

.cards-hero h1 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.08;
}

.cards-hero p,
.cards-shell-header p {
    color: #a7a7a7;
    font-size: 15px;
}

.cards-hero p {
    max-width: 600px;
    margin-top: 9px;
}

.cards-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 10px 15px;
    border: 1px solid rgba(31, 204, 121, .42);
    border-radius: 25px;
    background: rgba(31, 204, 121, .08);
    color: #42e796;
    font-size: 12px;
    font-weight: 700;
}

.cards-shell {
    border-radius: 24px;
    padding: 28px;
}

.cards-shell-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.cards-section-kicker {
    margin-bottom: 6px;
    color: #8c8c8c;
    font-size: 9px;
    letter-spacing: 1.6px;
}

.cards-shell h2 {
    font-size: 24px;
}

.cards-shell-header p {
    margin-top: 6px;
    font-size: 14px;
}

.cards-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 22px;
    color: #b6b6b6;
    font-size: 12px;
}

.cards-count i {
    color: #ff4b4b;
}

.cards-methods {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    padding: 24px 0 28px;
}

.cards-method {
    min-height: 148px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    position: relative;
    padding: 17px;
    border: 1px solid rgba(112, 112, 112, .58);
    border-radius: 18px;
    background: rgba(13, 13, 13, .42);
    color: #fff;
    text-align: left;
    transition: .2s ease;
}

.cards-method:hover,
.cards-method:focus-visible {
    border-color: #ff4b4b;
    background: rgba(255, 37, 37, .1);
    transform: translateY(-3px);
}

.cards-method:focus-visible {
    outline: 2px solid rgba(255, 91, 91, .55);
    outline-offset: 2px;
}

.cards-method-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 37, 37, .14);
    color: #ff5757;
}

.cards-method-icon-green { background: rgba(31, 204, 121, .14); color: #42e796; }
.cards-method-icon-blue { background: rgba(60, 173, 255, .14); color: #3cadff; }
.cards-method-icon-purple { background: rgba(163, 111, 255, .14); color: #b58cff; }
.cards-method-icon-orange { background: rgba(255, 171, 37, .14); color: #ffbd55; }

.cards-method-copy {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cards-method-copy strong {
    color: #fff;
    font-size: 14px;
    line-height: 1.25;
}

.cards-method-copy small {
    color: #8f8f8f;
    font-size: 11px;
}

.cards-method-arrow {
    position: absolute;
    right: 16px;
    bottom: 18px;
    color: #686868;
    font-size: 12px;
    transition: .2s ease;
}

.cards-method:hover .cards-method-arrow {
    color: #ff5757;
    transform: translateX(3px);
}

.cards-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid rgba(112, 112, 112, .62);
    border-radius: 17px;
}

.cards-table-wrap .my-table {
    --bs-table-color: #b6b6b6;
    --bs-table-bg: transparent;
    --bs-table-border-color: rgba(255, 255, 255, .07);
    --bs-table-accent-bg: transparent;
    min-width: 760px;
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    color: #b6b6b6;
    background: #252525;
}

.cards-table-wrap .my-table th,
.cards-table-wrap .my-table td {
    padding: 17px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    vertical-align: middle;
    color: #b6b6b6;
    background-color: #252525 !important;
    box-shadow: none !important;
}

.cards-table-wrap .my-table > :not(caption) > * > * {
    background-color: #252525 !important;
    color: #b6b6b6;
    box-shadow: none !important;
}

.cards-table-wrap .my-table thead {
    background: #171717;
}

.cards-table-wrap .my-table thead th {
    background-color: #171717 !important;
}

.cards-table-wrap .my-table tbody tr:nth-child(even) td {
    background-color: #292929 !important;
}

.cards-table-wrap .my-table th {
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
    white-space: nowrap;
}

.cards-table-wrap .my-table tbody tr:last-child td {
    border-bottom: 0;
}

.cards-table-wrap .my-table tbody tr:hover {
    background: rgba(255, 255, 255, .025);
}

.cards-table-wrap .my-table tbody tr:hover td {
    background-color: #322326 !important;
}

.cards-empty {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    min-height: 240px;
    padding: 32px 20px;
    text-align: center;
}

.cards-empty-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 18px;
    background: rgba(255, 37, 37, .12);
    color: #ff5757;
    font-size: 20px;
}

.cards-empty h3 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 18px;
}

.cards-empty p {
    color: #898989;
    font-size: 13px;
}

.cards-table-wrap .my-table td:first-child {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.cards-table-wrap .txt-Shadow-blue {
    color: #a8a8a8 !important;
    text-shadow: none;
}

.cards-table-wrap .state {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid currentColor;
    border-radius: 18px;
    background: transparent;
    font-size: 11px;
    white-space: nowrap;
}

.cards-table-wrap .state::before {
    width: 6px;
    height: 6px;
    margin-right: 6px;
    border-radius: 50%;
}

.cards-table-wrap .state-progress { color: #ffb84d; background: rgba(255, 184, 77, .08); }
.cards-table-wrap .state-waiting { color: #3cadff; background: rgba(60, 173, 255, .08); }
.cards-table-wrap .state-completed { color: #42e796; background: rgba(66, 231, 150, .08); }
.cards-table-wrap .state-cancelled { color: #999; background: rgba(153, 153, 153, .08); }

.cards-table-wrap .destroy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 37, 37, .55);
    border-radius: 18px;
    background: rgba(255, 37, 37, .1);
    color: #ff6868;
    font-size: 11px;
    transition: .2s ease;
}

.cards-table-wrap .destroy:hover {
    border-color: #ff2525;
    background: #ff2525;
    color: #fff;
}

.cards-page .modal-content {
    border: 1px solid rgba(112, 112, 112, .8);
    border-radius: 22px;
    background: #252525;
    color: #b6b6b6;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .55);
}

.cards-page .modal-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.cards-page .modal-title {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.cards-page .modal-header .close {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    margin: 0 0 0 auto;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: #b6b6b6;
    font-size: 0;
    opacity: 1;
    line-height: 1;
    transition: .2s ease;
}

.cards-page .modal-header .close span {
    color: #fff;
    font-size: 23px;
    font-weight: 300;
    line-height: 1;
    transform: translateY(-1px);
}

.cards-page .modal-header .close:hover,
.cards-page .modal-header .close:focus-visible {
    border-color: #ff4b4b;
    background: #ff2525;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(255, 37, 37, .12);
    outline: none;
}

.cards-page .modal-body label,
.cards-page .modal-body label.text-dark {
    margin-bottom: 6px;
    color: #b6b6b6 !important;
    font-size: 12px;
}

.cards-page .modal-body .form-group {
    margin-bottom: 16px;
}

.cards-page .modal-body .form-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -6px;
    margin-left: -6px;
}

.cards-page .modal-body .form-row > [class*="col-"] {
    padding-right: 6px;
    padding-left: 6px;
}

.cards-page .modal-body .form-control,
.cards-page .modal-body select,
.cards-page .modal-body input {
    min-height: 44px;
    border: 1px solid #484848;
    border-radius: 12px;
    background: #171717;
    color: #fff;
}

.cards-page .modal-body select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 42px;
    background-image: none !important;
    cursor: pointer;
}

.cards-select-wrap {
    position: relative;
    width: 100%;
}

.cards-select-wrap::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 17px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #b6b6b6;
    border-bottom: 2px solid #b6b6b6;
    pointer-events: none;
    transform: translateY(-70%) rotate(45deg);
    transition: .2s ease;
}

.cards-select-wrap:focus-within::after {
    border-color: #ff5b5b;
    transform: translateY(-30%) rotate(225deg);
}

.cards-select-wrap select {
    width: 100%;
}

.cards-page .modal-body select option {
    background: #171717;
    color: #fff;
}

.cards-page .modal-body input::placeholder,
.cards-page .modal-body textarea::placeholder {
    color: #858585;
    opacity: 1;
}

.cards-page .modal-body input::-webkit-input-placeholder,
.cards-page .modal-body textarea::-webkit-input-placeholder {
    color: #858585;
    opacity: 1;
}

.cards-page .modal-body input::-moz-placeholder,
.cards-page .modal-body textarea::-moz-placeholder {
    color: #858585;
    opacity: 1;
}

.cards-page .modal-body input:-ms-input-placeholder,
.cards-page .modal-body textarea:-ms-input-placeholder {
    color: #858585;
    opacity: 1;
}

.cards-page .modal-body input:read-only {
    color: #d0d0d0;
    background-color: #202020;
}

.cards-page .modal-body .form-control:focus,
.cards-page .modal-body select:focus,
.cards-page .modal-body input:focus {
    border-color: #ff4b4b;
    background-color: #171717;
    color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 37, 37, .12);
}

.cards-page .btn-submit-ticket {
    min-height: 44px;
    border-radius: 22px;
    background: #ff2525;
    color: #fff;
    font-weight: 700;
}

.cards-page .btn-submit-ticket:hover {
    background: #e61d1d;
}

.cards-page .text-danger {
    display: block;
    margin-top: 5px;
    color: #ff6868 !important;
    font-size: 11px;
}

@media screen and (max-width: 1100px) {
    .cards-methods {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .cards-hero {
        align-items: flex-start;
        flex-direction: column;
        padding: 25px 22px;
    }

    .cards-shell {
        padding: 20px 16px;
    }

    .cards-shell-header {
        flex-direction: column;
    }

    .cards-methods {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 480px) {
    .cards-methods {
        grid-template-columns: 1fr;
    }

    .cards-method {
        min-height: 96px;
        flex-direction: row;
        align-items: center;
    }

    .cards-method-arrow {
        top: 50%;
        right: 18px;
        bottom: auto;
        transform: translateY(-50%);
    }

    .cards-method:hover .cards-method-arrow {
        transform: translate(3px, -50%);
    }
}
