html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Tektur', sans-serif;
    background-color: #DAD4FF;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #DAD4FF;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

#splash-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

#splash-screen img {
    width: calc(80% - 40px);
    height: auto;
    border-radius: 20px;
}

#app-content {
    height: 640px;
    justify-content: flex-end;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #DAD4FF;
    color: #2B2B2B;
    opacity: 0;
    transition: opacity 1s ease;
    width: calc(100% - 24px);
}

#app-content.fade-in {
    opacity: 1;
}

#app-content h1 {
    color: #2B2B2B;
    font-size: 40px;
    margin: 0 0 12px 0;
    text-align: center;
    z-index: 999;
}

#app-gif {
    border-radius: 20px;
    box-sizing: border-box;
    position: absolute;
    bottom: 0;
    width: 100%;
    opacity: 0.5;
}

#app-gif-2 {
    border-radius: 20px;
    box-sizing: border-box;
    margin: 20px;
    height: 180px;
    position: relative;
}

.section-heading {
    font-size: 18px;
    font-weight: 100;
    color: #2B2B2B;
    margin: 0 20px 12px 20px;
    text-align: center;
}

#phone-number {
    width: 100%;
    height: 52px;
    font-family: 'Tektur', sans-serif;
    font-size: 18px;
    border-radius: 20px;
    color: #2B2B2B;
    padding: 0 0 0 54px;
    box-sizing: border-box;
    outline: none;
    font-weight: 100;
    background-color: #EAE7FF;
    border: none;
}

.clear-btn {
    position: absolute;
    width: 16px;
    height: 16px;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
}

.clear-btn:focus, 
.clear-btn:active {
    outline: none; 
    box-shadow: none;
}

.view-logo {
    position: absolute;
    width: 30px;
    height: 30px;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
}

#view-icon-log {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

#view-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

#phone-form, #sms-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    opacity: 1;
    transition: opacity 0.5s ease;
    margin: 0 0 20px 0;
    z-index: 999;
}

.hidden {
    display: none;
}

.input-container {
    position: relative;
    width: 100%;
}

.phone-input-wrapper {
    position: relative;
    width: 100%;
    margin: 0 0 12px 0
}

#sms-code {
    padding: 0;
    width: 100% !important;
    height: 52px;
    font-family: 'Tektur', sans-serif;
    font-size: 18px;
    border-radius: 20px;
    color: #2B2B2B;
    box-sizing: border-box;
    outline: none;
    text-align: center;
    font-weight: 100;
    background-color: #EAE7FF;
    border: none;
}

#phone-error, #sms-error {
    color: #d24040;
    display: none;
    text-align: center;
    margin: 0 0 12px 0;
    font-weight: 100;
    font-size: 14px;
}

#phone-number::placeholder, #sms-code::placeholder {
    color: #7d7d7d;
}

.sms-container {
    margin: 0 0 12px 0;
}

.sms-btn-container {
    display: flex;
    gap: 12px;
    margin: 0;
}

.iti {
    width: 100% !important;
}

.iti__selected-flag {
    height: 60px;
    border-radius: 20px 0 0 20px;
}

.iti .iti__selected-flag {
    padding: 0;
}

.iti__flag-container {
    pointer-events: none;
    padding: 0;
    margin: 0;
}

.iti__flag-container::before {
    content: none !important;
}

.iti .iti__flag-container {
    padding: 0;
    display: none;
}

.iti__country-list {
    display: none;
}

.iti--allow-dropdown input {
    width: 100% !important;
    border-radius: 0 20px 20px 0;
}

.iti__arrow {
    display: none !important;
}

.iti__flag {
    border-radius: 4px;
}

#phone-next-btn, #sms-submit-btn {
    background-color: #6A5AE0;
    color: white;
    width: 100%;
    height: 52px;
    font-family: 'Tektur', sans-serif;
    font-size: 18px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    padding: 10px;
    outline: none;
    transition: background-color 0.15s ease;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    font-weight: bold;
}

#phone-next-btn:active, #sms-submit-btn:active {
    background-color: #968BE9;
}

#back-btn {
    background-color: #eae7ff;
    color: #2b2b2b;
    height: 52px;
    font-family: 'Tektur', sans-serif;
    font-size: 18px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    padding: 10px;
    outline: none;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 100px;
}

#resend-timer {
    color: #2B2B2B;
    font-size: 14px;
    text-align: center;
    margin: 12px 0 0 0;
    font-weight: 100;
}

#resend-sms-btn {
    background: none;
    color: #2B2B2B;
    width: auto;
    height: auto;
    font-family: 'Tektur', sans-serif;
    font-size: 14px;
    border: none;
    cursor: pointer;
    padding: 0;
    outline: none;
    margin: 0;
    box-sizing: border-box;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
    margin: 12px 0 0 0;
    font-weight: 100;
}

#retry-message {
    color: #d24040;
    font-size: 14px;
    text-align: center;
    display: none;
    margin: 12px 0 0 0;
    font-weight: 100;
}

#footer-message {
    height: 200px;
    font-size: 14px;
    color: #7d7d7d;
    text-align: center;
    box-sizing: border-box;
    z-index: 999;
}

#footer-message a {
    color: #7d7d7d;
    text-decoration: underline;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

#footer-message a:focus,
#footer-message a:active {
    outline: none; 
    box-shadow: none;
}