@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-BlackItalic.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}


* {
    box-sizing: border-box;
}


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1 {
    font-family: Lato, Arial, sans-serif;
    font-weight: 900;
    font-size: 2.4em;
}


h2 {
    font-family: Lato, Arial, sans-serif;
    font-weight: 900;
    margin-top: 1.75em;
}

h3 {
    font-size: 1.25em;
}

.homepage-content h2 {
    font-family: Lato, Arial, sans-serif;
    font-weight: 900;
    font-size: 3em;
    margin-top: 0;
}

@media (max-width: 644px) {
    .homepage-content h2 {
        font-size: 1.75em;
    }
}

h3 {
    font-family: Lato, Arial, sans-serif;
    font-weight: 800;
    margin-top: 1em;
}

.homepage-content h3 {
    font-family: Lato, Arial, sans-serif;
    font-weight: 800;
    font-size: 1.75em;
}

@media (max-width: 644px) {
    .homepage-content h3 {
        font-size: 1.25em;
        color: #666;
        margin: 0px;
    }
}

P {
    color: #666;
    line-height: 1.25em;
}

.homepage-content p {
    font-size: 18px;
    color: #666;
    line-height: 1.25em;
}


@media (max-width: 644px) {
    .homepage-content p {
        font-size: 16px;
    }
}


ul {
    color: #666;
}

ol {
    color: #666;
}

i {
    color: #666;
}

hr {
    color: #ccc;
    margin-top: 24px;
}


button {
    padding: 10px 32px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

button:hover {
    background-color: #0056b3;
}

@media (max-width: 854px) {
    button {
        padding: 8px 22px;
    }
}


table, th, td {
    border: 1px solid #ccc;
    border-collapse: collapse;
}

table {
    width: 100%;
    font-size: 18px;
    color: #666;
    stroke: #666;
    line-height: 1.25em;
    text-align: center;
}

@media (max-width: 644px) {
    table {
        font-size: 16px;
    }
}

table.first-child-text-align-left td:nth-child(1) {
    text-align: left;
}

table .display-text {
    text-align: left;
    vertical-align: top;
}


tr:nth-child(even) {
    background-color: #f4f4f4;
  }

th, td {
    padding: 12px;
}

input:focus {
    outline: 2px solid #007bff;
}

input:focus.red-outline {
    outline: 2px solid #dc3545;
}






.container {
    display: flex;
    max-width: 1200px;
    height: 100%;
    padding: 0px 18px;
    margin: auto;
    align-items: center;
    justify-content: space-between;
}


@media (max-width: 1200px) {
    .container {
        max-width: 100vw;
    }
}

.content .container {
    max-width: 1000px;
}

@media (max-width: 1000px) {
    .content .container {
        max-width: 100vw;
    }
}


.homepage-content .container {
    flex-direction: column;
}

.homepage-content .container.flex-direction-row {
    flex-direction: row;
    gap: 96px;
}

.homepage-content .container.flex-direction-row h2 {
    min-width: fit-content;
    margin-bottom: 0;
}

@media (max-width: 644px) {
    .homepage-content .container.flex-direction-row {
        flex-direction: column;
        gap: 12px;
    }
}

.button {
    padding: 10px 32px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.button:hover {
    color: white;
    background-color: #0056b3;
}


@media (max-width: 854px) {
    .button {
        padding: 8px 22px;
    }
}


a {
    color: #007bff;
    cursor: pointer;
}

a:hover {
    color: #0056b3;
}


header a {
    color: #000;
    text-decoration: none;
}

header a:hover {
    color: #0056b3;
    text-decoration: none;
}


footer a {
    color: #888;
    text-decoration: none;
}

footer a:hover {
    color: #0056b3;
    text-decoration: none;
}


.header-menu {
    display: flex;
    flex-direction: row;
    gap: 24px;
    justify-content: space-between;
    vertical-align: middle;
}

.header-menu * {
    align-self: center;
}



header {
    height: 60px;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 5;
}


.logo p{
    color: #000;
    font-family: Lato, Arial, sans-serif;
    font-weight: 800;
    font-size: 1.15em;
}

header .buttons {
    display: flex;
    gap: 12px;
}

#mobileNavContainer {
    display: none;
}

#mobileNavBtn {
    position: absolute;
    left: 2;
    padding: 0;
    background-color: transparent;
    stroke: black;
}

#mobileNavBtn:hover {
    stroke: #007bff;
}

@media (max-width: 854px) {
    
    .logo {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    #mobileNavBtn {
        display: flex;
    }

    .header-menu {
        display: none;
    }

    header .buttons {
        display: none;
    }

    #mobileNavContainer {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 30vw;
        padding: 12px 24px 24px 24px;
        overflow: auto;
        display: none;
        flex-direction: column;
        align-items: baseline;
        gap: 18px;
        background-color: white;
        z-index: 11;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }


    #mobileNavContainer > * {
        width: 100%;
    }

    #mobileNavClose {
        position: static;
        top: auto;
        left: auto;
        color: black;
        float: none;
        font-size: 28px;
    }
}


@media (max-width: 512px) {
    #mobileNavContainer {
        width: 40vw;
    }
}

@media (max-width: 432px) {
    #mobileNavContainer {
        width: 50vw;
    }
}


.h-menu {
    list-style-type: none; 
    padding: 0;       
    margin: 0;
  }
  
.h-menu li {
    display: inline;        
    margin-right: 20px;
}

.h-menu li:last-child {
    margin-right: 0;
  }





.banner {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 48px 0 48px;

}

.homepage-banner {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 48px 0 96px;
}

@media (max-width: 644px) {
    .homepage-banner {
        padding: 12px 0 48px;
    }
}


.title {
    margin: auto 0px auto;
    text-align: center;
}

.title > p {
    color: #666;
    margin-bottom: 2em;
    font-size: 15px;
}

@media (max-width: 644px) {
    .title > p {
        margin-left: 1em;
        margin-right: 1em;
    }
}


.rewriter {
    display: flex;
    justify-content: space-between;
    width: 96%;
    gap: 12px
    
}

@media (max-width: 854px) {
    .rewriter {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
}

.input-area, .output-area {
    width: 48%;
    height: 400px;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
}

@media (max-width: 854px) {
    .input-area, .output-area {
        width: 98%;
    }
}

textarea {
    width: 100%;
    height: 100%;
    border: none;
    background-color: transparent;
    resize: none;
}

.controls {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    vertical-align: middle;
    position: relative;
}

#modeSelect {
    padding: 8px;
    height: 38px;
    font-size: 14px;
    border: 2px solid #ddd;
    border-radius: 5px;
    background-color: white;
}

@media (max-width: 644px) {
    #modeSelect {
        padding: 0px;
        height: 38px;
        font-size: 14px;
        border: 2px solid #ddd;
        border-radius: 5px;
        background-color: white;
    }
}

@media (max-width: 411px) {
    #modeSelect {
        width: 110px;
    }
}

#modeSelect:disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
  }

.word-count {
    margin: auto, auto, auto;
    padding: 5px;
    color: #666;
    font-size: 14px;
}




.rewriter button {
    padding: 10px 32px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 156px;
    transition: background-color 0.3s ease;
}

@media (max-width: 420px) {
    .rewriter button {
        min-width: 0px;
        gap: 5px;
        padding: 10px 22px;
    }
}

@media (max-width: 380px) {
    .rewriter button {
        gap: 2px;
        padding: 10px 16px;
    }
}





@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


#turnstileWidget {
    z-index: 9;
}

.rewriter #turnstileWidget {
    position: absolute;
    z-index: 9;
    bottom: 125%;
    left: 55%;
}


@media (max-width: 854px) {
    .rewriter #turnstileWidget {
        left: 50%;
        transform: translateX(-50%);
    }
}





.copy-button {
    display: none;
    position: relative;
    flex-direction: column;
    justify-content: center;
    height: 38px;
}

.copy-icon {
    transform: scaleX(-1);
    stroke: black;
    cursor: pointer;
}

.copy-icon:hover {
    visibility: visible;
    stroke: #007bff;
}



.tooltip {
    visibility: hidden;
    --tooltip-background-color: #555;
    background-color: var(--tooltip-background-color);

    color: #fff;
    font-size: 0.9em;
    text-align: center;
    padding: 10px 10px;
    border-radius: 5px;
  
    /* Position the tooltip text */
    position: absolute;
    z-index: 10;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
  
    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 0.2s;

    display: flex;
    justify-content: center;
    align-items: center;
}
  
  /* Tooltip arrow */
.tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--tooltip-background-color) transparent transparent transparent;
}

#copyButton:hover .tooltip {
    visibility: visible;
    opacity: 1;
}


/* Modal Background */
.modal {
    position: fixed;
    z-index: 19;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 12px 0px 12px;
  }
  
/* Modal Box */
.modal-box {
    background-color: #fefefe;
    padding: 40px 48px 32px 48px;
    border-radius: 5px;
    border: 1px solid #888;
    height: fit-content;
    max-width: 758px; 
    min-width: 0px;
    position: relative;
}

.history-record.modal-box {
    width: 100%;
}

  
  /* The Close Button */
.close {
    position: absolute;
    top: 2px;
    right: 8px;
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
  
.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-content {
    display: flex;
    justify-content: space-between;
    gap: 12px
}

@media (max-width: 512px) {
    .modal-box {
        padding: 36px 24px 24px 24px;
    }

    .modal-content {
        flex-direction: column;
        gap: 24px;
    }

    .close {
        top: 0;
        right: 4px;
    }

    .flex-start-on-mobile {
        align-items: flex-start;
    }
}

.modal-content > div {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-content .input-area, .modal-content .output-area {
    width: 100%;
}


.modal .copy-button {
    display: flex;
}

.content {
    background-color: #fff;
    flex: 1;
    display: flex;
    justify-content: center;
    padding-top: 48px;
    padding-bottom: 96px;
}

.modal-content > div.prompt-content {
    align-items: center;
}

.prompt-content > .icon > svg {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
}

.prompt-content .title {
    font-size: 1.8em;
    font-family: Lato, Arial, sans-serif;
    font-weight: 800;
    margin-bottom: 8px;
}

.prompt-content .message {
    text-align: center;
    font-size: 1em;
    color: #666;
    margin-bottom: 16px;
}

.modal-content .buttons {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 32px;
}

.modal-content .buttons button {
    width: 136px;
}


.homepage-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background-color: #fff;
    padding-top: 96px;
    padding-bottom: 96px;
    gap: 128px
}

@media (max-width: 644px) {
    .homepage-content {
        padding-top: 48px;
        padding-bottom: 48px;
        gap: 48px
    }
}



.four-cell-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 48px 100px;
    margin-top: 48px;
}

.three-cell-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
}



@media (max-width: 644px) {
    .three-cell-grid {
        grid-template-columns: 1fr;
        margin-top: 0;
        gap: 0px;
    }

    .grid-cell {
        text-align: center;
    }
}

.notes{
    margin-top: 8px;
    font-size: 0.8em;
    color: #888;
}



.notes p {
    font-size: inherit;
    margin: 4px 0px;
}

.notes a {
    color: inherit;
}


.faqs {
    background-color: #f4f4f4;
    width: 100%;
    display: block;
    padding-top: 0;
}

.faqs h3 {
    font-size: 1.25em;
    color: #000;
    margin: 10px 0px;
}

@media (max-width: 644px) {
    .faqs h3 {
        font-size: 1.15em;
    }
}

.faq-answer {
    display: none;

}

.faqs .container {
    display: flex;
    flex-direction: column;
}

.faq {
    width: 100%;
    cursor: pointer;
    padding: 10px 18px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 10px 10px 10px 10px;
    background-color: #f9f9f9;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

.faq:hover {
    background-color: #e9e9e9;
}

.arrow {
    min-width: fit-content;
    transition: transform 0.3s ease;
}


.arrow.up {
    transform: rotate(180deg);
}

.prompt-content .pricing-grid {
    display: flex;
    gap: 48px;
    justify-content: space-between;
}

@media (max-width: 380px) {
    .prompt-content .pricing-grid {
        flex-direction: column;
    }
}

.pricing-grid > .grid-cell {
    padding: 32px;
    border: 1px solid #ccc;
    border-radius: 5px;
    min-width: 256px;
}

.price {
    font-family: Lato, Arial, sans-serif;;
    font-size: 2.4em;
    font-weight: 800;
    margin: 16px 0;
}

.pricing-grid button {
    width: 100%;
}

.pricing-benefits {
    row-gap: 24px;
    column-gap: 16px;
}


@media (max-width: 644px) {
    .pricing-grid {
        gap: 24px;
    }

    .pricing-benefits {
        gap: 8px;
    }
}

.buy-button-disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: default;
}




footer {
    background-color: #000;
    min-height: 64px;
    align-items: center;
    padding-top: 8px;
}

footer p {
    color: #888;
    font-size: 1em;
}

footer .h-menu {
    color: #888;
    font-size: 1em;
}


@media (max-width: 644px) {
    footer .container {
        flex-direction: column-reverse;
        min-height: 84px;
        padding-top: 24px;
    }

    footer p {
        text-align: center;
    }

    footer .h-menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        color: #888;
        font-size: 1em;
    }
    
}

.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    padding: 12px;
    z-index: 20;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #ccc;
    display: none;
    justify-content: space-around;
    align-items: center;
    gap: 24px
}

@media (max-width: 858px) {
    .cookie-notice {
        flex-direction: column;
        text-align: center;
        gap: 6px;
        padding: 8px;
    }
}

.cookie-buttons {
    display: flex;
    gap: 24px;
    align-items: center;
}



.container.status-container {
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}

.status-display {
    font-size: 8em;
    font-family: 'Lato', Arial, sans-serif;
}

.status-text {
    text-align: center;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    66% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeInFromBelow {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.status-display > .success-icon {
    animation: fadeInFromBelow 0.5s ease-out forwards;
}

.status-text.fade-in {
    animation: fadeIn 0.75s ease-out forwards;
}

.status-container > .buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    animation: fadeIn 0.75s ease-out forwards;
}

@media (max-width: 390px) {
    .status-container > .buttons {
        flex-direction: column;
    }
}


.auth-form-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: auto;
    width: 90%; 
    max-width: 480px;
    height: auto;
    min-height: 400px;
    padding: 0px 20px; 
}

@media (max-width: 500px) {
    .auth-form-container {
        top: 20%;
        padding: 0; 
    }
}

.auth-form-container a {
    color: #666;
}

.auth-form-container a:hover {
    color: #007bff;
}

.auth-form {
    
    display: flex;
    flex-direction: column;
    background-color: #fff;
    padding: 56px 48px 56px 48px;
    align-items: center;
    justify-content: center; 
}

@media (max-width: 500px) {
    .auth-form {
        padding: 48px 24px 48px 24px;
    }
}

.auth-form h1 {
    font-size: 1.75em;
    text-align: center;
    height: auto;
}

@media (max-width: 380px) {
    .auth-form-container {
        margin-top: 20px;

    }

    

    .auth-form h1 {
        font-size: 1.65em;
        margin: 0;
    }
}

.auth-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 24px 0px 36px;
}

.auth-form form a {
    text-align: center;
    font-size: 0.9em;
}

.form-item {
    display: flex;
    align-items: center;
    gap: 12px;
}



.form-item > div {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.form-item input {
    min-height: 48px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 0px 12px;
    font-size: 1em;
}

.form-item input::placeholder {
    color: #aaaaaa;
}


.form-item p {
    margin: 0px;
}

.form-item > button {
    min-height: 48px;
}

.form-item > .button {
    min-height: 48px;
}

.form-item table {
    font-size: 1em;
}

.form-item table.smaller-text {
    font-size: 0.9em;
}

.form-item table a:hover {
    cursor: pointer;
}

.form-item .pagination {
    flex-direction: row;
    width: auto;
}



.auth-form * {
    width: 100%;
    height: 100%;

}

.auth-form .back {
    position: absolute;
    top: 3%;
    left: 8%;
    margin: 0px;
    width: auto;
    height: auto;
    text-decoration: none;
}


.switch-auth {
    text-align: center;
}

.switch-auth a {
    color: #007bff;
    text-decoration: none;
}

.switch-auth a:hover {
    color: #007bff;
    text-decoration: underline;
}


#gAuthButton {
    margin-bottom: 20px;
}


#agree {
    width: 1em;
    height: 1em;
    min-height: auto;
    margin: 0px 4px 0px 0px;
    vertical-align: middle;
}

.terms-label {
    width: auto;
    height: auto;
    font-size: 0.9em;
    text-align: center;
    vertical-align: middle;
    color: #666;
}


#resendLink {
    text-decoration: none;
}


.auth-footer {
    margin-top: 12px;
    padding: 12px;
    font-size: 0.8em;
    text-align: center;
}

.error-display {
    min-height: 32px;
    border: 1px solid #dc3545;
    border-radius: 2px;
    background-color: #f8d7da;
    padding: 12px 12px 10px 12px;
    font-size: 1em;
    display: flex;
    vertical-align: middle;
    color: #dc3545;
}

.error-icon {
    height: 1em;
    width: 1em;
    vertical-align: middle;
}

.success-display {
    min-height: 32px;
    border: 1px solid #28a745;
    border-radius: 2px;
    background-color: #d4edda;
    padding: 12px 12px 10px 12px;
    font-size: 1em;
    display: flex;
    vertical-align: middle;
    color: #28a745;
}

.success-icon {
    height: 1em;
    width: 1em;
}

.password-input {
    position: relative;
}

input[type="password"]:focus + .tooltip {
    visibility: visible;
    opacity: 1;
}


#vEmail {
    display: inline;
    border: none;
    border-radius: 0;
    background-color: #ccc;
    min-height: fit-content;
    min-width: 0px;
    width: fit-content;
    padding: 0px;
}




.dashboard-two-grids {
    display: grid;
    grid-template-columns: 1fr 6fr;
    gap: 24px;
    justify-items: start;
    align-items: start;
    width: 100%
}


.content .dashboard-two-grids.container {
    max-width: 1200px;
    margin: 0px auto auto auto;
}

.menu {
    position: sticky;
    top: 64px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-top: 18px;
    width: 100%;
    max-width: 120px;
}

@media (max-width: 854px) {
    .menu {
        display: none;
    }

    .dashboard-two-grids {
        grid-template-columns: 1fr;
    }
}

.menu-item {
    list-style-type: none;
    font-size: 1em;
    padding: 0 0 12px;
    border-bottom: 1px solid #ccc;
    text-decoration: none;
    color: #666;
    width: 100%;
}

.menu-item:hover {
    color: #007bff;;
    border-bottom: 1px solid #007bff;
    cursor: pointer;
}

.menu-item.active {
    color: #007bff;;
    border-bottom: 1px solid #007bff;
    cursor: default;
    pointer-events: none;
}

.menu ul {
    list-style-type: none;
    font-size: 1em;
    padding: 0; 
}

.menu li {
    padding: 18px 0 12px;
    border-bottom: 1px solid #ccc;
}

.menu li a {
    text-decoration: none;
    color: inherit;
}


.menu li:hover {
    color: #007bff;;
    border-bottom: 1px solid #007bff;
    cursor: pointer;
}

.menu li:last-child {
    border-bottom: none;
}

.menu li:last-child:hover {
    border-bottom: none;
}

.menu button.red-outline-button {
    padding: 0 10px;
    width: 100%;
    max-width: 120px;
}



.settings {
    display: flex;
    flex-direction: column;
    gap: 96px;
    width: 100%;
}

.settings h2 {
    margin: 0;
    font-size: 2em;
    padding-bottom: 8px;
    border-bottom: 1px solid #ccc;
}

.settings h3 {
    font-size: 1.2em;
    margin: 8px 0 16px;
}

.settings .form-item {
    gap: 48px;
}

.settings .form-item.flex-direction-column {
    padding-top: 12px;
    font-size: 1em;
    color: #666;
    gap: 36px
}

@media (max-width: 854px) {
    .settings .form-item {
        gap: 8px;
    }
}

@media (max-width: 644px) {
    .settings .form-item.expand-on-mobile {
        flex-direction: column;
        gap: 24px
    }
}

.settings form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.settings input {
    min-height: 42px;
    width: 100%;
}

.settings button {
    min-height: 42px;
}

.settings .button {
    min-height: 42px;
}

.settings label {
    color: #666;
}

.settings-tab {
    display: flex;
    flex-direction: column;
    gap: 24px
}


.settings-tab-content {
    display: flex;
    flex-direction: column;
    gap: 48px
}

.subscription-data {
    font-size: 1em;
    font-weight: bold;
    color: #000;
    stroke: #000;
}


.meter {
    width: 100%;
    height: 6px;
    background-color: #ccc;
    border-radius: 4px;
}

.meter-value {
    height: 100%;
    background-color: #007bff;
    border-radius: 4px;
}





#historyContainer {
    flex-direction: column;
    gap: 24px;
    position: relative;
}


#historyContainer table {
    width: 100%;

}

#historyContainer td {
    max-width: 320px;

}

.table {
    max-width: 100%;
    font-size: 0.9em;
    gap: 24px;
}

.table .table-rows {
    display: flex;
    flex-direction: column;
    gap: 24px;
    color: #666;
}

#historyTable {
    gap: 24px;
}

.table .table-header {
    display: grid;
    grid-template-columns: 4fr 7fr 7fr 4fr;
    justify-items: center;
    align-items: center;
    font-size: 1em;
    font-weight: bold;
    color: black;
    gap: 12px;
    background-color: #eee;
    padding: 8px 0 8px 0;
}

.table .table-row {
    display: grid;
    grid-template-columns: 4fr 7fr 7fr 4fr;
    align-items: center;
    gap: 12px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee;
}



.table-text-column {
    min-width: 0;
}

.mobile-label {
    display: none;
    font-weight: bold;
    color: black;
}

.table-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-actions-column {
    display: flex;
    justify-content: center;
    align-items: center;
}

.v-divider {
    background-color: #666;
    width: 1px;
    min-height: 1rem;
    margin: 0 8px;
    display: block;
}


@media (max-width: 644px) {
    #historyTable {
        margin-top: 24px;
    }

    .table .table-header {
        display: none;
    }

    .table .table-rows {
        gap: 32px;
    }

    .table .table-row {
        display: flex;
        flex-direction: column;
        gap: 24px;
        align-items: baseline;
        min-width: 0;
        max-width: 100%;
        padding-bottom: 24px;
        border-bottom: 1px solid #eee;
    }

    .table-time-column {
        font-weight: bold;
        background-color: #eee;
        color: #000;
        padding: 8px 0;
        width: 100%;
    }
    
    
    .mobile-label {
        display: block;
        text-align: start;
    }

    .table-text-column {
        display: flex;
        flex-direction: column;
        align-items: baseline;
        gap: 8px;
    }
    
    .table-text {
        text-align: start;
        white-space: normal;
        overflow: hidden;
        text-overflow: ellipsis;
        min-height: 0;
        max-height: 3rem;
    }

    .table-actions-column {
        width: 100%;
        justify-content: space-between;
    }

    .v-divider {
        display: none;
    }


}

.pagination {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
}

.pagination div,
.pagination > a {
    text-decoration: none;
    font-size: 0.9em;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 2px;
}

.pagination div:hover,
.pagination > a:hover {
    background-color: #007bff;
    border: 1px solid #007bff;
    color: white;
    cursor: pointer;
}

.pagination div.active-page,
.pagination > a.active-page {
    background-color: #007bff;
    border: 1px solid #007bff;
    color: white;
    pointer-events: none;
}

.pagination div.button-disabled,
.pagination > a.button-disabled {
    opacity: 1;
    background-color: #ccc;
    color: #666;
}


a.remove {
    color: #dc3545;
}

a.remove:hover {
    color: #dc1000;
}





.spinner {
    display: inline;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    stroke: #666;
}


.visibility-hidden {
    visibility: hidden;
}

.display-none {
    display: none;
}

.button-disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: default;
}

.link-disabled {
    color: #ccc;
    pointer-events: none;
    opacity: 0.5;
    cursor: default;
}

.heading-centered {
    text-align: center;
}

.button {
    padding: 10px 32px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.button:hover {
    background-color: #0056b3;
}


.black-outline-button {
    border: 2px solid #333;
    background-color: transparent;
    color: #333;
    stroke: #333;
}

.black-outline-button:hover {
    border: 2px solid #007bff;
    background-color: transparent;
    color: #007bff;
}


.red-outline {
    outline: 2px solid #dc3545;
}

.red-outline-button {
    border: 2px solid #dc3545;
    background-color: transparent;
    color: #dc3545;
    stroke: #dc3545;
}

.red-outline-button:hover {
    border: 2px solid #dc3545;
    background-color: #dc3545;
    color: white;
    stroke: white;
}

.gray-link {
    font-size: 0.9em;
    text-decoration: underline;
    color: #666;
}

.gray-link:hover {
    color: #dc3545;
}

.gray-outline-button {
    border: 2px solid #666;
    background-color: transparent;
    color: #666;
}

.gray-outline-button:hover {
    border: 2px solid #007bff;
    background-color: transparent;
    color: #007bff;
}

.text-align-left {
    text-align: left;
}

.text-align-center {
    text-align: center;
}

.smaller-text {
    font-size: 1em;
}

.space-between {
    justify-content: space-between;
}

.flex-direction-column {
    flex-direction: column;
}


.gray-background {
    background-color: #f4f4f4;
}

.flex-direction-row {
    flex-direction: row;
}

.column-flex-box {
    display: flex;
    flex-direction: column;
    gap: 80px;
    max-width: 100%;
}


@media (max-width: 432px) {
    .hide-on-mobile {
        display: none;
    }
}