.cs-cal {
    padding: 20px;
    overflow: hidden;
    margin-bottom: 15px;    
    border-radius: 16px;
    background: #fff;
    border: 2px solid #467ff7;
}

.cs-cal .card:first-child {
    border-top: none;    
}

.cs-cal .card.pt-zero {
    padding-top: 0;
}

.cs-cal .card.pb-zero {
    padding-bottom: 0;
}

.cs-cal .card {
    background: #fff;
    border-radius: 0;
    box-shadow: none;
    border: 0;
    border-top: 1px solid #f0f2f8;
    padding: 20px 0;
    margin-bottom: 0;
    
}

.cs-cal .card .card-title {
    font-size: 14px;
    font-weight: 700;
    color: #1c244b;
    text-transform: uppercase;
    letter-spacing: .7px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: normal;
}

.cs-cal .card .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #467ff7;
    flex-shrink: 0;
}

.cs-cal .input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cs-cal .field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cs-cal .field.new-jersey {
    display: none;
}

.cs-cal .field.new-jersey.show {
    display: block;
}

.cs-cal .field label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #1c244b;
    line-height: normal;
}

.cs-cal .field label .sub {
    display: block;
    font-size: 12px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: #9aa3bf;
    margin-top: 1px;
    line-height: normal;
}

.cs-cal .input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.cs-cal .input-prefix {
    position: absolute;
    left: 11px;
    font-size: 15px;
    font-weight: 700;
    color: #777777;
    pointer-events: none;
}

.cs-cal input {
    padding-left: 28px;
}

.cs-cal select:focus,
.cs-cal input:focus {
    border: 1px solid #cccccc;
    box-shadow: none;
}

.cs-cal .cta-slim {
    background: #1c244b;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-radius: 8px;
    margin: 0 auto;
    width: 100%;
}

.cs-cal .cta-slim-text {
    font-size: 14px;
    color: rgba(255, 255, 255, .65);
    line-height: 1.4;
}

.cs-cal .cta-slim-text strong {
    color: #fff;
    font-weight: 600;
}

.cs-cal .cta-slim-btn {
    display: inline-block;
    background: #467ff7;
    color: #fff;    
    font-size: 13px;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 30px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all .6s;
}

.cs-cal .cta-slim-btn:hover {
    background: #fff;
    color: #467ff7;
}

.cs-cal .nj-bonus-wrap {
    display: none;
    margin-top: 16px;
}

.cs-cal .nj-bonus-wrap.show {
    display: block;
}

.cs-cal .bonus-note {
    background: rgba(245, 166, 35, .08);
    border: 1px solid rgba(245, 166, 35, .3);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 13px;
    color: #5a6380;
    line-height: 1.55;
}

.cs-cal .bonus-note strong {
    color: #7a5500;
}

.cs-cal .state-info {
    display: none;
    background: #f8f9fc;
    border: 1.5px solid #e2e6f0;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 10px;
}

.cs-cal .state-info.show {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.cs-cal .state-lottery-name {
    font-size: 14px;
    font-weight: 700;
    color: #1c244b;
    line-height: normal;
}

.cs-cal .state-notes {
    font-size: 12px;
    color: #9aa3bf;
    margin-top: 3px;
    line-height: normal;
}

.cs-cal .rates-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 16px;
}

.cs-cal .rate-box {
    background: #f8f9fc;
    border: 1px solid #e2e6f0;
    border-radius: 8px;
    padding: 12px 14px;
}

.cs-cal .rate-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #9aa3bf;
    margin-bottom: 6px;
    line-height: normal;
}

.cs-cal .rate-val {
    font-size: 28px;
    font-weight: 700;
    color: #1c244b;
    display: flex;
    align-items: flex-end;
    gap: 3px;
    line-height: 1;
}

.cs-cal .rate-val span {
    font-size: 16px;
    font-weight: 700;
    color: #467ff7;
    margin-bottom: 2px;
}

.cs-cal .rate-edit-note {
    font-size: 12px;
    color: #9aa3bf;
    margin-top: 4px;
    line-height: normal;
}

.cs-cal input[type=text], 
.cs-cal input[type=password], 
.cs-cal input[type=url], 
.cs-cal input[type=tel], 
.cs-cal input[type=search], 
.cs-cal input[type=number], 
.cs-cal input[type=datetime], 
.cs-cal input[type=email], 
.cs-cal textarea, 
.cs-cal select, 
.cs-cal .form-select {
    border-radius: 8px;
    padding: 8px 20px;
}

.cs-cal .no-lottery {
    display: none;
    background: rgba(232, 54, 93, .04);
    border: 1.5px solid rgba(232, 54, 93, .2);
    border-radius: 8px;
    padding: 14px 16px;
    margin-top: 10px;
    font-size: 14px;
    color: #5a6380;
    line-height: normal;
}

.cs-cal .no-lottery.show {
    display: block;
}

.cs-cal .no-lottery strong {
    color: #1c244b;
}

.cs-cal .period-row {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.cs-cal .period-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #9aa3bf;
}

.cs-cal .period-tab {
    border: 1px solid #e2e6f0;
    border-radius: 6px;
    background: #fff;
    padding: 6px 14px;    
    font-size: 13px;
    font-weight: 600;
    color: #5a6380;
    cursor: pointer;
    transition: all .15s;
    line-height: normal;
}

.cs-cal .period-tab.active {
    border-color: #467ff7;
    background: rgba(70, 127, 247, .08);
    color: #1c244b;
}

.cs-cal .period-tab:hover:not(.active) {
    border-color: #467ff7;
}

.cs-cal .results-hero {
    background: #1c244b;
    border-radius: 8px;
    padding: 28px;
    margin-bottom: 0;
}

.cs-cal .results-hero .results-grid {
    display: flex;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.cs-cal .results-hero .results-grid .res-item {
    text-align: center;
    width: calc(33.33% - 5px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.cs-cal .results-hero .results-grid .res-item .res-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .4);
    margin-bottom: 6px;
    line-height: normal;
}

.cs-cal .results-hero .results-grid .res-item .res-val {
    font-size: clamp(26px, 4.5vw, 38px);
    font-weight: 700;
    color: rgba(255, 255, 255, .2);
    transition: color .25s;
    line-height: 1;
    width: 100%;
}

.cs-cal .results-hero .results-grid .res-item .res-val.pink {
    color: #ef5f9f;
}

.cs-cal .results-hero .results-grid .res-divider {
    width: 1px;
    background: rgba(255, 255, 255, .1);
    align-self: stretch;
}

.cs-cal .breakdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cs-cal .bk-empty {
    font-size: 13px;
    color: #9aa3bf;
    text-align: center;
    padding: 12px 0;
    line-height: normal;
}

.cs-cal .breakdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cs-cal .bk-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fc;
    border-radius: 8px;
    border: 1px solid #f0f2f8;
}

.cs-cal .bk-row.total {
    background: rgba(70, 127, 247, .06);
    border-color: rgba(70, 127, 247, .2);
}


.cs-cal .bk-label {
    font-size: 14px;
    font-weight: 600;
    color: #5a6380;
    line-height: normal;
}

.cs-cal .bk-label .bk-sub {
    font-size: 12px;
    color: #9aa3bf;
    margin-top: 1px;
    line-height: normal;
    width: 100%;
}

.cs-cal .bk-val {
    font-size: 19px;
    font-weight: 700;
    color: #1c244b;
}

.cs-cal .bk-row.total .bk-val {
    color: #467ff7;
    font-size: 22px;
}

@media (max-width: 767px) {    
    .cs-cal .rates-row, .cs-cal .input-grid {
        grid-template-columns: 1fr;
    }
    .cs-cal .results-hero .results-grid {
        width: 100%;
        display: inline-block;
    }    
    .cs-cal .results-hero .results-grid .res-item {
        width: 100%;
        margin-bottom: 15px;
    }
    .cs-cal .results-hero .results-grid .res-item:last-child {
        margin-bottom: 0;
    }
    .cs-cal .results-hero .results-grid .res-divider {
        display: none;
    }
    .cs-cal .period-tab {
        padding: 6px 8px;
    }
    .cs-cal .bk-row {
        text-align: center;
        display: inline-block;
    }
    .cs-cal .bk-label {
        margin-bottom: 5px;
    }
}