* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    min-height: 100vh;
    background: #f6f8fc;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 15px 40px;
}

/* ===== MAIN CONTAINER ===== */
.container {
    width: 100%;
    max-width: 850px;
    height:80%;
    position: relative;
    display: flex;
    justify-content: center;
}

/* ===== LOGO CIRCLE ===== */
.logo-box {
    position: absolute;
    top: -90px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7a00, #ff9f43);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 35px rgba(255, 140, 0, 0.4);
    z-index: 2;
}

.logo-box img {
    width: 85%;
    height: 85%;
    object-fit: cover;
    border-radius: 50%;
}

/* ===== CARD ===== */
.form-box {
    width: 100%;
    background: #fff;
    border-radius: 28px;
    padding: 80px 50px 40px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

/* ===== TITLES ===== */
.form-box h2 {
    text-align: center;
    color: #ff7a00;
    font-size: 28px;
    margin-bottom: 6px;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 35px;
}

/* ===== FORM GRID ===== */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 20px;
}

/* login page single column */
form .input-group {
    margin-bottom: 10px;
}

/* ===== INPUT GROUP ===== */
.input-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #ccc;
    outline: none;
    font-size: 15px;
}

.input-group input:focus {
    border-color: #ff7a00;
}

/* ===== BUTTON ===== */
.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(90deg, #ff7a00, #ff9f43);
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    margin-top: 10px;
}

.btn:hover {
    opacity: 0.95;
}

/* ===== LINKS ===== */
.login-link {
    text-align: center;
    margin-top: 18px;
}

.login-link a {
    color: #ff7a00;
    font-weight: 600;
    text-decoration: none;
}

/* ===== MAP DIALOG (REGISTER) ===== */
.map-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    width: 100vw;
    height: 100vh;

    border: none;
    padding: 0;
    margin: 0;

    display: flex;
    justify-content: center;
    align-items: center;
}

.map-dialog::backdrop {
    background: rgba(0,0,0,0.6);
}

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

#map {
    width: 100%;
    height: 100%;
}

.map-actions {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.map-actions button {
    padding: 12px 25px;
    font-size: 16px;
}
.btn.small {
    width: 48%;
}

.btn.cancel {
    background: #ccc;
    color: #333;
}
/* Make phone input same as other inputs */

/* ===== PHONE INPUT FIX ===== */

.iti {
    width: 100%;
    display: block;
}

.iti input {
    width: 100%;
    height: 50px;
    padding-left: 85px !important; /* space for flag */
    padding-right: 14px;
    border-radius: 12px;
    border: 1px solid #ccc;
    font-size: 15px;
}

/* flag section styling */

.iti__country-container {
    border-right: 1px solid #ddd;
}

.iti--separate-dial-code .iti__selected-flag {
    background: transparent;
    padding: 0 10px;
}




.header-actions{
    display:flex;
    gap:12px;
    align-items:center;
}

.download-app-btn{
    display:flex;
    align-items:center;
    gap:10px;
    padding:8px 14px;
    background:linear-gradient(135deg,#34a853,#0f9d58);
    color:white;
    border-radius:10px;
    text-decoration:none;
    transition:0.3s;
    box-shadow:0 4px 10px rgba(0,0,0,0.15);
}

.download-app-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 6px 16px rgba(0,0,0,0.25);
}

.play-icon{
    font-size:18px;
}

.download-text{
    display:flex;
    flex-direction:column;
    line-height:1.1;
}

.download-text small{
    font-size:10px;
    opacity:0.8;
}

.download-text strong{
    font-size:14px;
}
/* focus effect same as other inputs */
.download-app{
    margin-top:20px;
    text-align:center;
}

.download-btn{
    display:inline-block;
    padding:10px 20px;
    background:#2ecc71;
    color:white;
    text-decoration:none;
    border-radius:5px;
    font-weight:bold;
}

.download-btn:hover{
    background:#27ae60;
}

.iti input:focus {
    border-color: #ff7a00;
}
/* ===== MOBILE ===== */
@media (max-width: 768px) {

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-box {
        padding: 110px 25px 35px;
    }

    .logo-box {
        width: 130px;
        height: 130px;
        top: -70px;
    }
}
