* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: poppins, sans-serif;
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    background: #f4f4f4;
}

.form-container {
    width: 100%;
    padding: 20px;
}

.top-section {
    width: 100%;
}

.top-section img {
    display: block;
    width: 100%;
    height: auto;
}

.title {
    position: relative;
    width: fit-content;
    max-width: 100%;
    margin: 20px auto 24px;
    text-align: center;
    font-size: clamp(18px, 4vw, 22px);
    line-height: 1.25;
    font-weight: 600;
    font-style: oblique;
    isolation: isolate;
}

.highlight {
    color: #ff5500;
}

.input-box {
    display: flex;
    align-items: center;
    padding: 14px;
    margin-bottom: 15px;
    background: #fafafa;
    border: 1px solid #ccc;
    border-radius: 65px;
}

.input-box input {
    width: 100%;
    font-size: 16px;
    background: none;
    border: none;
    outline: none;
}

.country {
    margin-right: 10px;
    color: #555;
    font-weight: bold;
    text-wrap: nowrap;
}

.signin-btn {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    color: #fff;
    font-size: 18px;
    background: #66cc33;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 15px;
}

.signin-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.signin-btn:focus-visible,
.pin-box:focus-visible {
    outline: 3px solid rgba(102, 204, 51, 0.35);
    outline-offset: 2px;
}

.policy,
.create-account {
    text-align: center;
}

.create-account {
    margin-top: 20px;
}

#createAccountLink {
    color: #66cc33;
    font-weight: bold;
    text-decoration: none;
}

.telegram-float {
    position: fixed;
    right: 15px;
    bottom: 15px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #fff;
    font-size: 22px;
    text-decoration: none;
    background: linear-gradient(135deg, #0088cc, #0ea5e9);
    border-radius: 50%;
    box-shadow: 0 6px 15px rgba(0, 136, 204, 0.4);
    transition: transform 0.3s;
}

.telegram-float:hover {
    transform: scale(1.1);
}

/* Style an HTML <hr> tag or a div */
.horizontal-line {
  border: none;
  position: absolute;
  left: 45.55%;
  bottom: -107px;
  height: 8px;
  z-index: -1;
  background-color: #66cc33;
  width: 8.7%
}

/* Shared PIN page styles */
.pin-container {
    width: 420px;
    min-height: 185px;
    margin: 0 auto;
    padding: 38px 25px;
    color: #111;
    text-align: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.pin-container h1 {
    margin: 0;
    font-size: 20px;
    line-height: 24px;
}

.pin-label {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 18px;
    font-weight: 700;
}

.pin-boxes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pin-box {
    width: 45px;
    height: 50px;
    padding: 0;
    color: #111;
    font-size: 22px;
    font-weight: 500;
    text-align: center;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    caret-color: #111;
}

.pin-box:focus {
    border: 2px solid #111;
}

.pin-box.filled {
    font-size: 22px;
    color: #111;
    -webkit-text-security: disc;
    text-security: disc;
}

.pin-box.filled::after {
    content: "•";
    font-size: 25px;
    line-height: 48px;
}

.message {
    min-height: 20px;
    margin-top: 18px;
    font-size: 14px;
}

.success-card {
    width: min(420px, 100%);
    margin: 0 auto;
    padding: 38px 25px;
    text-align: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.success-icon {
    color: #55c94c;
    font-size: 58px;
    font-weight: 700;
    line-height: 1;
}

.success-card h1 {
    margin: 18px 0 10px;
    font-size: 21px;
}

.success-card p {
    margin: 8px 0;
    color: #555;
}

.success-card p:last-child {
    color: #222;
    font-weight: 700;
}

@media (max-width: 480px) {
    .pin-container {
        width: calc(100% - 30px);
        padding: 35px 15px;
    }

    .pin-boxes {
        gap: 8px;
    }

    .pin-box {
        width: 43px;
        height: 48px;
    }
}

/* Mask entered PIN digits with bullets. */
.pin-box.filled::after {
    content: "•" !important;
}

@media (max-width: 350px) {
    .pin-container {
        padding-right: 10px;
        padding-left: 10px;
    }

    .pin-boxes {
        gap: 5px;
    }

    .pin-box {
        width: 40px;
        height: 46px;
    }
}

.privacy{
    color: #66cc33;
    font-size: 14px;
}


h3.title {
    text-align: center;
    font-size: clamp(18px, 4vw, 22px);
}


.title span {
    position: relative;
    z-index: 0;
}

.title span::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 5px;
    width: 95%;
    height: 7px;
    background: #5EDC1F;
    z-index: -1;
}

@media (max-width: 480px) {
    .title {
        margin-top: 16px;
        margin-bottom: 20px;
    }
}
