/* ===========================================
   FALGUNI UPLOAD PORTAL V3
   Professional Card UI
=========================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

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

body{
    font-family:"Poppins", "Segoe UI",Arial,sans-serif;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color:#222;
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding:20px;
}

/* ===========================================
   MAIN CONTAINER
=========================================== */

.container{
    width: 100%;
    max-width:500px;
    background:#fff;
    padding:28px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(37, 99, 235, .15);
}

.logo{
    font-size: 40px;
    text-align: center;
    margin-bottom: 5px;
}

/* ===========================================
   HEADINGS
=========================================== */

h1{
    color:#1e40af;
    font-size:32px;
    font-weight: 700;
    text-align: center;
    margin-bottom:5px;
}

h2{
    color:#1e3a8a;
    font-size: 20px;
    font-weight: 600;
    margin-bottom:10px;
    text-align: center;
}

.subtitle{
    color:#64748b;
    font-size:15px;
    text-align: center;
    margin-bottom:20px;
}

/* ===========================================
   UPLOAD BOX
=========================================== */

.upload-box{
    background:#eef4ff;
    border-radius:20px;
    padding:24px;
    text-align:center;
    margin-bottom:20px;
    border:1px solid #dbeafe;
}

.upload-top-icon{
    width:74px;
    height:74px;
    margin:0 auto 18px;
    background:#dbeafe;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:38px;
}

.upload-box h2{
    font-size:18px;
    color:#1e40af;
    margin-bottom:8px;
}

.file-types{
    font-size:14px;
    color:#64748b;
    margin-bottom:20px;
}

.upload-area{
    display:block;
    border:2px dashed #3b82f6;
    border-radius:18px;
    padding:20px 16px;
    background:#f8fbff;
    cursor:pointer;
    transition:.25s;
}

.upload-area:hover{
    background:#eef6ff;
    border-color:#2563eb;
}

.folder-icon{
    font-size:42px;
    margin-bottom:12px;
}

.upload-area h3{
    font-size:24px;
    color:#1e40af;
    font-weight:700;
    margin-bottom:8px;
}

.upload-area p{
    color:#64748b;
    font-size:16px;
}

#fileInput{
    display:none;
}

/* ===========================================
   BUTTONS
=========================================== */

#uploadBtn{
    background: linear-gradient(90deg, #2563eb, #1d4ed8);
    color:white;
    border:none;
    width:100%;
    padding:14px;
    border-radius:12px;
    font-size:17px;
    font-weight:700;
    cursor:pointer;
    transition:.2s;
    margin-bottom: 20px;
}

#uploadBtn:hover{
    transform:translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, .3);
}

#uploadBtn:active{
    transform:scale(.98);
}

/* ===========================================
   INFO GRID + CARDS
=========================================== */
.info-grid{
    display: grid;
    gap: 12px;
}

.feature-card, .contact-card, .footer-card{
    background: #f8fafc;
    padding: 14px;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-card span,
.footer-card span{
    font-size:22px;
    min-width:28px;
    text-align:center;
}

.feature-card h3, .contact-card h3, .footer-card h3{
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 2px;
    color: #1e3a8a;
}

.feature-card p, .contact-card p, .footer-card p{
    font-size: 13px;
    color: #475569;
}

.contact-card a{
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}
.contact-card a:hover{
    text-decoration: underline;
}

/* ===========================================
   SUCCESS BOX
=========================================== */

#result{
    margin-top:20px;
}

.success{
    background:#e8f5e9;
    border-left:6px solid #2e7d32;
    border-radius:12px;
    padding:20px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.success h2{
    color:#2e7d32;
    text-align: left;
    margin-bottom:10px;
}

.success p{
    margin:8px 0;
    font-size: 14px;
}


/* ===========================================
   MOBILE FULL SCREEN OPTIMIZATION
=========================================== */

@media (max-width:768px){

    body{
        padding:8px;
        align-items:flex-start;
    }

    .container{
        max-width:100%;
        padding:16px;
        border-radius:16px;
    }

    .logo{
        font-size:34px;
        margin-bottom:2px;
    }

    h1{
        font-size:26px;
        margin-bottom:2px;
    }

    .subtitle{
        font-size:13px;
        margin-bottom:14px;
    }

    .upload-box{
        padding:16px;
        margin-bottom:14px;
    }

    .upload-top-icon{
        width:56px;
        height:56px;
        font-size:28px;
        margin-bottom:12px;
    }

    .upload-box h2{
        font-size:18px;
        margin-bottom:4px;
    }

    .file-types{
        font-size:12px;
        margin-bottom:12px;
    }

    .upload-area{
        padding:18px 10px;
    }

    .folder-icon{
        font-size:34px;
        margin-bottom:8px;
    }

    .upload-area h3{
        font-size:20px;
        margin-bottom:4px;
    }

    .upload-area p{
        font-size:13px;
    }

    #uploadBtn{
        padding:12px;
        font-size:16px;
        margin-bottom:14px;
    }

    .info-grid{
        gap:8px;
    }

    .feature-card,
    .contact-card,
    .footer-card{
        padding:10px;
    }

    .feature-card span,
    .contact-card span,
    .footer-card span{
        font-size:18px;
    }

    .feature-card h3,
    .contact-card h3,
    .footer-card h3{
        font-size:14px;
    }

    .feature-card p,
    .contact-card p,
    .footer-card p,
    .contact-card a{
        font-size:12px;
    }
}
.phone-link{
    display:block;
    margin-top:6px;
    color:#2563eb;
    font-size:14px;
    font-weight:600;
    text-decoration:none;
}

.phone-link:hover{
    text-decoration:underline;
}