﻿/** {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.app-container {
    width: 375px;
    height: 750px;
    background-color: #ffffff;
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

@media(max-width: 768px) {
    .app-container {
        width: 812px;
        border-radius: 0px;
        box-shadow: none;
    }
}*/


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: #111827;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.app-container {
    width: 100%;
    max-width: 370px;
    height: 750px;
    background-color: #ffffff;
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 8px solid #374151;
}

    .app-container::-webkit-scrollbar {
        width: 0px;
    }

@media(max-width: 768px) {
    .app-container {
        width: 812px;
        border-radius: 0px;
        box-shadow: none;
        border: none;
    }
}


.image-banner {
    width: 100%;
    height: 48%;
    position: relative;
    background-image: url('/app/images/welcome.jpeg');
    background-size: cover;
    background-position: center 20%;
}

.image-banner::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #ffffff;
    border-top-left-radius: 50% 100%;
    border-top-right-radius: 50% 100%;
    transform: scaleX(1.2);
}

/*.app-content {
    flex: 1;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px 34px 32px;
    z-index: 1;
}*/

.app-content {
    flex: 1;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    z-index: 1;
}

    .app-content::-webkit-scrollbar {
        display: none;
    }

.app-content {
    -ms-overflow-style: none;
    scrollbar-width: none;
}


.logo-container {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.logo-box {
    background-color: #1200d6;
    color: #ffffff;
    font-weight: 700;
    font-size: 26px;
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -1px;
    position: relative;
}

.logo-box span {
    font-size: 18px;
    position: relative;
    top: -4px;
    margin-left: 1px;
}

.logo-text {
    color: #1200d6;
    font-size: 28px;
    font-weight: 700;
    margin-left: 10px;
    letter-spacing: -0.5px;
}

.logo-subtext {
    display: block;
    font-size: 11px;
    color: #1200d6;
    font-weight: 600;
    text-align: right;
    margin-top: -4px;
    opacity: 0.9;
}

.button-group {
    width: 100%;
    margin-top: auto;
    margin-bottom: 45px;
}

.btn {
    width: 100%;
    height: 54px;
    border-radius: 27px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    text-decoration: none;
}

.btn-primary {
    background-color: #1200d6;
    color: #ffffff;
    border: none;
    margin-bottom: 14px;
}

.btn-primary:active {
    background-color: #0d00a3;
}

.btn-secondary {
    background-color: #ffffff;
    color: #1200d6;
    border: 2px solid #1200d6;
}

.btn-secondary:active {
    background-color: #f2f0ff;
}

.footer-links {
    font-size: 12px;
    color: #5c6c7f;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.footer-links a {
    color: #1200d6;
    text-decoration: none;
    font-weight: 500;
}

.footer-links span {
    color: #c4cbd4;
}

.home-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 134px;
    height: 5px;
    background-color: #000000;
    border-radius: 100px;
}

.app-container {
    padding: 60px 24px 34px 24px;
}

.login-header {
    margin-top: 40px;
    margin-bottom: 32px;
    text-align: center;
}

.login-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.login-header p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.4;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 8px;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    height: 46px;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 30px;
    padding: 0 25px;
    font-size: 14px;
    color: #111827;
    outline: none;
    transition: border-color 0.2s, background-color 0.2s;
}

.form-input:focus {
    border-color: #1200d6;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(18, 0, 214, 0.08);
}

.phone-input-wrapper {
    display: flex;
    position: relative;
}

.phone-input-wrapper .form-input {
    padding-left: 56px;
}

.country-select {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    font-weight: 600;
    color: #4b5563;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper .form-input {
    padding-right: 50px;
}

.password-toggle-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    outline: none;
    transition: color 0.2s;
}

.password-toggle-btn:hover,
.password-toggle-btn:focus {
    color: #1200d6;
}

.form-utilities {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: -4px;
    margin-bottom: 32px;
}

.remember-me-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
}

.remember-me-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox {
    height: 18px;
    width: 18px;
    background-color: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 50%;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, border-color 0.2s;
}

.remember-me-container:hover input ~ .custom-checkbox {
    border-color: #1200d6;
}

.remember-me-container input:checked ~ .custom-checkbox {
    background-color: #1200d6;
    border-color: #1200d6;
}

.custom-checkbox::after {
    content: "";
    display: none;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.remember-me-container input:checked ~ .custom-checkbox::after {
    display: block;
}

.forgot-password {
    font-size: 14px;
    font-weight: 600;
    color: #1200d6;
    text-decoration: none;
}

.login-actions {
    margin-top: auto;
    margin-bottom: 20px;
}

.btn-submit {
    width: 100%;
    height: 54px;
    background-color: #1200d6;
    color: #ffffff;
    border: none;
    border-radius: 27px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s;
    box-shadow: 0 4px 12px rgba(18, 0, 214, 0.15);
}

.btn-submit:active {
    background-color: #0d00a3;
}

.register-prompt {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
    margin-top: 24px;
}

.register-prompt a {
    color: #1200d6;
    text-decoration: none;
    font-weight: 600;
}

.validation-summary-errors {
    color: red;
    margin-bottom: 15px;
    font-size: 14px;
}

.field-validation-error {
    color: red;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

.signup-header {
    margin-bottom: 24px;
    text-align: center;
}

.signup-header h1 {
    font-size: 26px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.signup-header p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.45;
}

.agreement-text {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
    margin: 12px 0 20px;
    text-align: center;
}

.agreement-text a {
    color: #1200d6;
    text-decoration: none;
    font-weight: 600;
}

.signup-actions {
    margin-top: auto;
    margin-bottom: 5px;
}

.login-prompt {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
    padding-top: 16px;
}

.login-prompt a {
    color: #1200d6;
    text-decoration: none;
    font-weight: 700;
}

.validation-summary-errors {
    color: red;
    margin-bottom: 15px;
    font-size: 13px;
}

.field-validation-error {
    color: red;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.scroll-content {
    overflow-y: auto;
    flex: 1;
    padding-right: 2px;
    scrollbar-width: none;
}

.scroll-content::-webkit-scrollbar {
    display: none;
}

.text-danger {
    color: #dc2626;
    font-size: 13px;
    margin-top: 6px;
    display: block;
}