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

body {
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.app {
    width: 100%;
    max-width: 900px;
    padding: 40px;
}

.card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(18px);
    border-radius: 18px;
    padding: 35px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    color: #fff;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
}

.header p {
    margin-top: 8px;
    font-size: 14px;
    opacity: 0.9;
}

.form-group {
    margin-bottom: 20px;
}

label {
    font-size: 14px;
    font-weight: 600;
}

.file-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 3px;
    margin-top: 8px;
}

.file-box input[type="file"] {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 14px;
}

input[type="file"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: none;
    outline: none;
    font-size: 14px;
    color:#777 ;
}
input[type="text"],
input[type="email"] {
    width: 100%;
    margin-top: 8px;
    padding: 12px 14px;
    border-radius: 10px;
    border: none;
    outline: none;
    font-size: 14px;
}

input::placeholder {
    color: #777;
}

.help {
    font-size: 12px;
    margin-top: 6px;
    opacity: 0.8;
}

button {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: #ffffff;
    color: #5a3fc0;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.message {
    margin-top: 25px;
    padding: 16px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    font-size: 14px;
}

.result {
    margin-top: 25px;
    background: rgba(255,255,255,0.2);
    border-radius: 14px;
    padding: 20px;
}
.result h3 {
    margin-top: 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    color: #fff;
}

th, td {
    text-align: center;
    padding: 10px 14px;
}

th {
    border-bottom: 2px solid rgba(255,255,255,0.4);
}

tr:not(:last-child) td {
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.sample {
    margin-top: 35px;
    background: rgba(0,0,0,0.25);
    border-radius: 14px;
    padding: 20px;
}

.sample h3 {
    margin-top: 0;
}
.sample-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: rgba(0,0,0,0.25);
    border-radius: 12px;
    overflow: hidden;
}

.sample-table th,
.sample-table td {
    padding: 12px;
    text-align: center;
    font-size: 14px;
}

.sample-table th {
    background: rgba(255,255,255,0.15);
    font-weight: 600;
}

.sample-table tr:not(:last-child) td {
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.download-btn-wrapper {
    text-align: center;
}

.download-btn {
    margin-top: 15px;
    display: inline-block;
    padding: 12px 20px;
    background: #ffffff;
    color: #5a3fc0;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
}

.footer {
    text-align: center;
    margin-top: 25px;
    font-size: 12px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .card {
        padding: 20px;
    }

    h1 {
        font-size: 24px;
    }

    input, button {
        font-size: 14px;
    }
    .table-container table {
        font-size: 13px;
    }

    .table-container th,
    .table-container td {
        padding: 6px 6px;   
        font-size: 12px;
    }

    .table-container {
        border-radius: 10px;
    }
}
@media (max-width: 600px) {
    .table-container {
        border-radius: 10px;
    }
}

.table-container {
    width: 100%;
    overflow-x: hidden;  
    margin-top: 10px;
}
.table-container table {
    width: 100%;
    min-width: 100%;        
    table-layout: fixed;
}

.table-container th,
.table-container td {
    padding: 10px 12px;
    text-align: center;
    font-size: 14px;
    word-break: keep-all;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
