/* --- 1. GLOBAL LAYOUT --- */
body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    background-color: #000;
    margin: 0;
    display: flex;
    justify-content: center;
}

.phone-wrapper {
    background: linear-gradient(180deg, #FF8C00 0%, #FFCC33 100%); 
    width: 100%;
    max-width: 430px;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 25px;
    box-sizing: border-box;
    gap: 30px;
}

/* --- 2. BRANDING --- */
.brand-header { text-align: center; }
.brand-header h1 { font-size: 3rem; color: #fff; margin: 0; letter-spacing: -1px; }
.brand-header p { 
    font-weight: 800; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin-top: 5px; 
    color: rgba(0,0,0,0.7);
    font-size: 0.85rem;
}

/* --- 3. MAIN CALCULATOR CARD --- */
.login-card {
    background: #fff;
    padding: 30px;
    border-radius: 35px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.login-card h2 { margin: 0; font-size: 1.6rem; font-weight: 800; }
.subtitle { color: #777; font-size: 0.9rem; margin: 8px 0 25px 0; font-weight: 500; }

/* --- 4. FORM INPUTS --- */
.input-group { text-align: left; margin-bottom: 18px; }
.input-group label { 
    font-size: 0.8rem; 
    font-weight: 800; 
    color: #444; 
    display: block; 
    margin-bottom: 6px; 
    margin-left: 5px;
}

input {
    width: 100%;
    padding: 16px;
    border-radius: 15px;
    border: 1.5px solid #eee;
    box-sizing: border-box;
    font-size: 1rem;
    background-color: #fcfcfc;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: #FF8C00;
    background-color: #fff;
}

.login-btn {
    width: 100%;
    padding: 18px;
    background: #FF8C00;
    color: #fff;
    border: none;
    border-radius: 16px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.3);
    transition: transform 0.2s;
}

.login-btn:active { transform: scale(0.97); }

/* --- 5. RESULTS DISPLAY --- */
.result-area {
    margin-top: 25px;
    padding: 25px;
    background: #FFF9E6;
    border: 2px dashed #FF8C00;
    border-radius: 25px;
    animation: fadeIn 0.4s ease;
}

.result-area p { margin: 0; font-size: 0.85rem; color: #666; font-weight: 600; }
.result-area h3 { margin: 10px 0; font-size: 2.2rem; color: #000; font-weight: 900; }

.reset-btn {
    background: none;
    border: none;
    color: #FF8C00;
    font-weight: 800;
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.85rem;
}

/* --- 6. FARMER'S TIP --- */
.tip-area {
    margin-top: 30px;
    border-top: 1px solid #f0f0f0;
    padding-top: 25px;
}

.tip-card {
    background: #f9f9f9;
    padding: 18px;
    border-radius: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-align: left;
}

.tip-icon { font-size: 1.6rem; }
.tip-text strong { 
    font-size: 0.8rem; 
    display: block; 
    color: #FF8C00; 
    text-transform: uppercase; 
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.tip-text p { margin: 0; font-size: 0.85rem; line-height: 1.5; color: #555; font-weight: 500; }

/* --- 7. FOOTER --- */
.footer-area { margin-top: auto; padding-bottom: 10px; }
.footer-area p { color: #fff; font-size: 0.8rem; font-weight: 600; opacity: 0.9; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
#totalCostDisplay {
    color: #000; /* Or match your existing orange color */
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 10px;
}
