/* Font */
@font-face {
    font-family: 'Focus Sans Uniwidth';
    src: url('./other/FocusSans-VariableVF.ttf') format('truetype-variations');
}
body {
    margin: 0;
    font-family: 'Focus Sans Uniwidth' , sans-serif;
    font-variation-settings: 'wght' 400, 'opsz' 1, 'wdth' 1;
    background-color: rgb(43, 43, 43);
    color: white;
}

.logo{
    position: absolute;
    top: 40px;
    left: 80px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px 6px 16px;
    border-radius: 8px;
}
#logo-icon{
    height: 40px;
    padding-bottom: 2px;
    opacity: .65;
}
.logo p {
    font-size: 1.5rem;
    line-height: 1.5;
    opacity: .65;
}
.logo span {
    font-size: 1.5rem;
    line-height: 1.5;
    opacity: 1;
}

.text-box{
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.image {
    border: 1px solid #3c3c3c;
    border-radius: 16px;
}

.input-box{
    height: 400px;
}

.fx-pp-title {
    font-family: 'Focus Sans Uniwidth' , sans-serif;
    font-size: 2rem;
    line-height: 1.5;
    font-variation-settings: 'wght' 500, 'opsz' 1, 'wdth' 10;
    text-align: left;
}

h2 {
    font-size: 28px;
    font-variation-settings: 'wght' 500, 'opsz' 1, 'wdth' 10;
    text-align: left;
    margin-bottom: 0px;
}
h4 {
    font-size: 1rem;
    line-height: 1.5;
    font-variation-settings: 'wght' 500, 'opsz' 1, 'wdth' 10;
    color: rgb(255, 255, 255);
    opacity: .5;
    margin-bottom: 16px;
}

.pp-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    margin: 80px auto;
    max-width: 700px;
}

.pp-container h2 {
    margin: 8px 0px;
}
.pp-container li {
    margin: 8px 0px;
    line-height: 1.5;
}

.list-element {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

strong {
    font-variation-settings: 'wght' 700, 'opsz' 1, 'wdth' 10;
    opacity: .5;    
}

.option:hover {
    background-color: #383838;
}
.option.active{
    opacity: 1;
}

p {
    font-size: 16px;
    line-height: 1.8;
    font-variation-settings: 'wght' 400, 'opsz' 1, 'wdth' 1;
    text-align: left;
    margin: 0;
}
.onboarding-container {
    display: flex;
    overflow: hidden;
    height: 100vh;
    position: relative;
    width: 100%;
    max-width: 1600px;
    justify-self: center;
}

.onboarding-step {
    min-width: 100%;
    max-width: 100vw;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    gap: 80px;
    padding: 80px;
    transition: transform 0.5s ease;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 500px;
}
.journals {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 16px;
    height: 343px;
    width: 100%;
}

.option {
    padding: 16px 24px 0px 24px;
    background-color: #2D2D2D;
    border: 1px solid #383838;
    border-radius: 16px;
    cursor: pointer;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.option-site {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    font-size: 14px;
    gap: 8px;
    margin: 0;
    padding: 8px;
    text-align: start;
}

.option:hover {
    background-color: #444;
    opacity: 1;
}

.option.active {
    background-color: #555; /* Highlight color for the active state */
    border-color: #999;
    opacity: 1;
}

.card-text {
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}
#small {
    font-size: 16px;
    line-height: 24px;
}
#medium {
    font-size: 24px;
    line-height: 36px;
}
#large {
    font-size: 28px;
    line-height: 34px;
    letter-spacing: 0.1;
}

.default-feature-description {
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    font-variation-settings: 'wght' 300, 'opsz' 1, 'wdth' 1;
    padding: 0px 16px 8px 16px;
    opacity: .5;
}
.option.active .default-feature-description {
    opacity: 1;
}
.option:hover .default-feature-description {
    opacity: 1;
}

.input-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.email-input-container{
    gap: 16px;
    width: 100%;
}

.input-field {
    font-size: 14px;
    background-color: rgba(255, 255, 255, .15);
    color: rgb(255, 255, 255);
    border: 1px solid rgb(255, 255, 255);
    border-radius: 8px;
    padding: 16px 20px 12px 20px;
    width: 100%;
}
.input-field:hover {
    background-color: rgba(255, 255, 255, .2);
}

.btn {
    background-color: rgb(255, 255, 255);
    font-size: 14px;
    font-variation-settings: 'wght' 400, 'opsz' 1, 'wdth' 1;
    border-radius: 8px;
    padding: 14px 20px 12px 20px;
    color: rgb(37, 37, 37);
    border: 0px;
}
.btn:hover {
    background-color: rgba(255, 255, 255, .80);
    border: 0px;
}
.btn:active {
    background-color: rgba(255, 255, 255, .70);
    border: 0px;
}
#send-email-btn{
    height: 50px;
    opacity: .5;
    pointer-events: none;
}
#suggested-page-btn{
    margin-top: 41px;
}
.fx-terms-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 8px;
    justify-content: center;
    font-size: 14px;
    line-height: 1.5;
}
.fx-terms-container label {
    width: 100%;
    text-align: left;
}
.fx-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin: 0px;
  border: 1px solid rgba(var(--body-text-color-rgb), 1);
  border-radius: 4px;
  background-color: transparent;
  cursor: pointer;
  position: relative;
  transition: background-color 0.2s, border-color 0.2s;
}
.fx-checkbox:hover {
  border-color: rgba(var(--body-text-color-rgb), .75);
}
.fx-checkbox:checked {
  background-color: rgba(var(--body-text-color-rgb), 1);
}
.fx-checkbox:checked::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  background-color: rgba(var(--body-text-color-rgb), 1);
  border-radius: 2px;
}


.site-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}
.site-logo-circle {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}
.site-domain {
    font-size: 12px;
    color: rgb(255, 255, 255, .5);
}

.terms-link {
    font-variation-settings: 'wght' 500, 'opsz' 1, 'wdth' 1;
    color: rgb(255, 255, 255, .5);
}
.terms-link:hover, .terms-link:visited:hover {
    color: rgb(255, 255, 255, .75);
}
.terms-link:visited {
    color: rgb(255, 255, 255, .5);
}

.btn-text {
    background-color: rgb(255, 255, 255, 0);
    border: 1px solid rgb(255, 255, 255, .15);
    font-size: 14px;
    font-variation-settings: 'wght' 400, 'opsz' 1, 'wdth' 1;
    border-radius: 8px;
    padding: 14px 20px 12px 20px;
    color: rgb(255, 255, 255);
}
.btn-text:hover {
    background-color: rgb(255, 255, 255, .05);
    border: 1px solid rgb(255, 255, 255, .5);
    color: rgb(255, 255, 255);
}
.btn-text:disabled {
    opacity: 0.4;
    pointer-events: none;
}


.fx-login-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  background-color: rgba(var(--body-text-color-rgb), 0.05);
  color: rgba(var(--body-text-color-rgb), 1);
  font-size: 12px;
}
.fx-sevendays-banner {
  display: flex;
  text-align: left;
  gap: 8px;
  padding: 16px;
  border-radius: 8px;
  background-color: rgb(94, 110, 255, .1);
  color: rgb(94, 110, 255);
  font-size: 14px;
}
.fx-login-banner-icon svg, .fx-sevendays-banner-icon svg {
    display: block;
    width: 24px;
    height: 24px;
}
.fx-login-banner-icon svg path {
    stroke: rgba(var(--body-text-color-rgb), .75);
}
.fx-sevendays-banner-icon svg path {
    stroke: rgb(94, 110, 255);
}


.navigation-dots {
    position: absolute;
    bottom: 24px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0px 80px;
    gap: 16px;
    width: 100%;
    max-width: 1600px;
    justify-self: center;
}
.navigation-dots-wrap {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 24px;
}
.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #888;
    cursor: pointer;
}

.dot.active {
    background-color: white;
}

.final-screen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(43, 43, 43, .75);
    color: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 10;
    backdrop-filter: blur(8px); /* Applies a blur effect behind the element */
    -webkit-backdrop-filter: blur(8px); /* For older versions of Safari */
    filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius='8'); /* For older versions of IE */
}


/* Uninstall*/
.body-uninstall{
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center; 
    align-items: center; 
    height: 100vh;
}

.uninstall-container{
    max-width: 800px;
    align-self: center;
    justify-self: center;
    margin: auto;
}
.uninstall-container p{
    padding-bottom: 16px;
}

.uninstall-form {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    gap: 16px;
}

.uninstall-form-label {
    display: flex;
    text-align: left;
    margin: 0;
    cursor: pointer;
    padding: 0;
    color: rgb(255, 255, 255, .5);
    transition: color 0.3s;
    gap: 8px;
}

.uninstall-form label:hover {
    color: rgb(255, 255, 255, .75);
}
.uninstall-form label.selected {
    color: rgb(255, 255, 255, 1);
}

.uninstall-form input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border: 1px solid rgb(255, 255, 255, .5);
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s;
}

.uninstall-form input[type="radio"]:checked {
    background-color: transparent;
    border-color: rgb(255, 255, 255, 1);
}

.uninstall-form input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-color: rgb(255, 255, 255);
    border-radius: 50%;
}

.input-group {
    display: flex;
    flex-direction: row;
    gap: 0px;
}
.input-label {
    font-size: 12px;
}

.input-field {
    background-color: rgba(255, 255, 255, 0);
    color: rgba(255, 255, 255, .75);
    border: 1px solid rgba(255, 255, 255, .5);
    height: 100px;
    width: 100%;
    border-radius: 8px;
    padding: 16px 16px 12px 16px;
    font-size: 14px;
    line-height: 1.5;
    resize: none;
}
#email-input, #password-input{
    height: auto;
}
.input-field:focus {
    color: rgba(255, 255, 255, 1);
}
.input-field:hover {
    background-color: rgba(255, 255, 255, .1);
}
.input-height{
    height: 52px;
}

/* Upgrade Overlay for Existing Users */
.upgrade-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgb(43, 43, 43);
    color: white;
    z-index: 100;
    overflow: hidden;
}

.upgrade-overlay.visible {
    display: flex;
    justify-content: center;
    align-items: center;
}

.upgrade-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 650px;
    padding: 40px;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.upgrade-icon {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    padding: 16px 32px 16px 24px;
    overflow: hidden;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.05);
}

.upgrade-icon-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.upgrade-icon-logo svg {
    position: relative;
    height: 48px;
    width: 48px;
    z-index: 1;
    opacity: 0.7;
}

.upgrade-icon-text {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
    z-index: 1;
}

.upgrade-icon-name {
    font-size: 24px;
    font-variation-settings: 'wght' 400, 'opsz' 1, 'wdth' 1;
    color: rgba(255, 255, 255, 0.7);
}

.upgrade-icon-version {
    font-size: 24px;
    font-variation-settings: 'wght' 500, 'opsz' 1, 'wdth' 1;
    color: white;
}

.upgrade-icon-sweep {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.25),
        transparent
    );
    animation: sweep 3s ease-in-out infinite;
}

@keyframes sweep {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 200%;
    }
}

.upgrade-title {
    font-size: 24px;
    font-variation-settings: 'wght' 500, 'opsz' 1, 'wdth' 1;
    margin: 0 0 8px 0;
    width: 100%;
    color: white;
}

.upgrade-description {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 24px 0;
}

.upgrade-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    text-align: left;
    width: 100%;
}

.upgrade-features li {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.upgrade-features li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    font-size: 12px;
    color: rgb(43, 43, 43);
    flex-shrink: 0;
}

.upgrade-features li:last-child {
    border-bottom: none;
}

.upgrade-btn {
    width: 100%;
    padding: 18px 32px 14px 32px;
    font-size: 16px;
    font-variation-settings: 'wght' 500, 'opsz' 1, 'wdth' 1;
    background-color: white;
    color: rgb(43, 43, 43);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(18, 18, 18, 0.25);
    background-color: rgb(208, 208, 208);
}

.upgrade-btn:active {
    transform: translateY(0);
}

.upgrade-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 16px;
}