/* assets/style.css */
body {
    background-image: url('bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    
    /* Center the box on screen */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    background-color: rgba(255, 255, 255, 0.95); /* Glass effect */
    backdrop-filter: blur(5px);
    
    /* --- EXACT WIDTH & REDUCED HEIGHT --- */
    width: 100%;
    max-width: 340px !important;  /* Fixed to your requirement */
    padding: 20px;     /* Reduced padding to shrink height */
    /* ------------------------------------ */

    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-align: center;
}

h1 { 
    color: #333; 
    margin: 0 0 10px 0; /* Removed top margin to save space */
    font-size: 20px;    /* Compact Title */
}

p { 
    color: #666; 
    margin-bottom: 12px; 
    font-size: 13px;
    line-height: 1.3;
}

/* --- COMPACT INPUTS --- */
input, select {
    width: 100%;
    padding: 9px;       
    margin: 5px 0;      /* Very tight spacing */
    font-size: 13px;    
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/* --- COMPACT BUTTONS --- */
button {
    width: 100%;
    padding: 10px;      
    margin-top: 8px;    /* Less gap above button */
    border: none;
    border-radius: 5px;
    font-size: 14px;    
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

/* Colors */
.btn-primary { background-color: #0078d4; color: white; }
.btn-primary:hover { background-color: #005a9e; }

.btn-delivery { background-color: #107c10; color: white; }
.btn-delivery:hover { background-color: #0b5a0b; }

.btn-secondary { background-color: #e1dfdd; color: #333; }
.btn-secondary:hover { background-color: #d0d0d0; }

.error {
    color: #d13438;
    background: #fde7e9;
    padding: 8px;
    margin-bottom: 10px;
    font-size: 12px;
    border-radius: 4px;
}