* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #ffffff;
    color: #000000;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 500px;
    text-align: center;
}

.logo {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.logo-img {
    max-width: 70%;
    width: 70%;
    height: auto;
    object-fit: contain;
}

h1 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: #000000;
}

.input-section {
    margin-bottom: 30px;
}

.input-section label {
    display: block;
    font-size: 1.17rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #000000;
    text-align: center;
}

.input-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid #000000;
    border-radius: 8px;
    padding: 0;
    background-color: #ffffff;
    transition: border-color 0.3s ease;
    max-width: 280px;
    margin: 0 auto;
}

.input-wrapper:focus-within {
    border-color: #0A66C2;
}

.prefix {
    padding: 14px 12px;
    font-weight: 600;
    color: #000000;
    background-color: #f5f5f5;
    border-right: 2px solid #000000;
    border-radius: 6px 0 0 6px;
    font-size: 1.65rem;
    display: flex;
    align-items: center;
    height: 100%;
}

.input-wrapper input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 16px;
    font-size: 1.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #000000;
    background-color: transparent;
    font-family: 'Nunito', 'Quicksand', sans-serif;
}

.input-wrapper input::placeholder {
    color: #999999;
    letter-spacing: 1px;
}

.input-section small {
    display: block;
    margin-top: 8px;
    font-size: 0.975rem;
    color: #666666;
    text-align: center;
}

.buttons-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Nunito', 'Quicksand', sans-serif;
    text-transform: none;
}

.btn-primary {
    background-color: #0A66C2;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #095195;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.3);
}

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

.btn-secondary {
    background-color: #DC2626;
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: #B91C1C;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

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

/* Tablet and below (768px and below) */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .logo {
        margin-bottom: 30px;
    }
    
    h1 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .input-section {
        margin-bottom: 25px;
    }
    
    .input-section label {
        font-size: 1.05rem;
    }
    
    .input-wrapper {
        max-width: 100%;
    }
    
    .prefix {
        font-size: 1.5rem;
        padding: 12px 10px;
    }
    
    .input-wrapper input {
        font-size: 1.5rem;
        padding: 12px 14px;
    }
    
    .input-section small {
        font-size: 0.875rem;
    }
    
    .buttons-section {
        gap: 12px;
        margin-top: 25px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

/* Mobile devices (600px and below) */
@media (max-width: 600px) {
    body {
        padding: 15px;
    }
    
    .logo {
        margin-bottom: 25px;
    }
    
    h1 {
        font-size: 1.35rem;
        margin-bottom: 25px;
    }
    
    .input-section label {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .prefix {
        font-size: 1.4rem;
        padding: 11px 9px;
    }
    
    .input-wrapper input {
        font-size: 1.4rem;
        padding: 11px 12px;
        letter-spacing: 1.5px;
    }
    
    .input-section small {
        font-size: 0.8rem;
        margin-top: 6px;
    }
    
    .buttons-section {
        gap: 10px;
        margin-top: 20px;
    }
    
    .btn {
        padding: 11px 18px;
        font-size: 0.9rem;
    }
}

/* Small mobile devices (480px and below) */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .logo {
        margin-bottom: 20px;
    }
    
    h1 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .input-section {
        margin-bottom: 20px;
    }
    
    .input-section label {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }
    
    .input-wrapper {
        border-width: 1.5px;
    }
    
    .prefix {
        font-size: 1.25rem;
        padding: 10px 8px;
        border-right-width: 1.5px;
    }
    
    .input-wrapper input {
        font-size: 1.25rem;
        padding: 10px 10px;
        letter-spacing: 1px;
    }
    
    .input-section small {
        font-size: 0.75rem;
        margin-top: 5px;
    }
    
    .buttons-section {
        gap: 8px;
        margin-top: 18px;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        border-radius: 6px;
    }
}

/* Large desktop (1200px and above) */
@media (min-width: 1200px) {
    .container {
        max-width: 600px;
    }
    
    .logo {
        margin-bottom: 50px;
    }
    
    h1 {
        font-size: 2rem;
        margin-bottom: 50px;
    }
    
    .input-wrapper {
        max-width: 320px;
    }
    
    .prefix {
        font-size: 1.8rem;
        padding: 16px 14px;
    }
    
    .input-wrapper input {
        font-size: 1.8rem;
        padding: 16px 18px;
    }
    
    .input-section label {
        font-size: 1.25rem;
    }
    
    .input-section small {
        font-size: 1rem;
    }
    
    .btn {
        padding: 16px 28px;
        font-size: 1.05rem;
    }
}

/* Landscape orientation on mobile devices */
@media (max-width: 768px) and (orientation: landscape) {
    body {
        padding: 10px;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    h1 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .input-section {
        margin-bottom: 15px;
    }
    
    .buttons-section {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        margin-top: 15px;
    }
    
    .btn {
        flex: 1;
        max-width: 200px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px; /* Minimum touch target size */
    }
}

/* Prevent iOS zoom on input focus for touch devices */
@media (hover: none) and (pointer: coarse) and (max-width: 600px) {
    .input-wrapper input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

