* {
    box-sizing: border-box;
    font-family: system-ui, 'Segoe UI', Roboto, sans-serif;
}

body {
    background: #f8f9fa;
    margin: 0;
    padding: 24px 20px;
    color: #1e293b;
}
.navbar{
	height:80px !important;
}
.container1 {
    max-width: 1200px;
    margin: 0 auto;
	margin-top:70px;
}

.card {
    background: white;
    border-radius: 28px;
    box-shadow: 0 5px 15px 2px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.05);
    padding: 24px 28px;
    margin-bottom: 32px;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    background-clip: text;
    color: #333;
    text-align: center;
}

.sub {
    text-align: center;
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.instruction {
    background: #f8fafc;
    border-radius: 20px;
    padding: 16px 24px;
    border: 1px solid #e2e8f0;
    margin-bottom: 28px;
}

.instruction h3 {
    margin: 0 0 12px;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.instruction ol {
    margin: 0;
    padding-left: 20px;
}

.instruction li {
    margin: 8px 0;
    line-height: 1.45;
}

.badge {
    background: #e6f0ff;
    color: #1e40af;
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 0.8rem;
    display: inline-block;
}

.flex-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.upload-area {
    background: #f1f5f9;
    border: 2px dashed #94a3b8;
    border-radius: 24px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
}

.upload-area:hover {
    background: #eef2ff;
    border-color: #3b82f6;
}

.btn {
     border: none;
    padding: 0px 20px;
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #cddfe7;
   
    height: 40px;
  
}

.btn-primary {
     background: #0D6EFD;
    color: white;
    border: none;
    padding: 0 20px;
    height: 40px;
    line-height: 40px;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-outline {
    border: 1px solid #cbd5e1;
    background: white;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.stats {
    background: #eef2ff;
    border-radius: 28px;
    padding: 12px 20px;
    font-weight: 500;
}

.preview-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

.slip-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9eef3;
    overflow-x: auto;
    width: 100%;
}

.slip-header {
    background: #f8fafd;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 0.85rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
}

.horizontal-slip-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    min-width: 500px;
}

.horizontal-slip-table th,
.horizontal-slip-table td {
    border: 1px solid #e2e8f0;
    padding: 8px 12px;
    text-align: left;
    white-space: nowrap;
}

.horizontal-slip-table th {
    background: #f1f5f9;
    font-weight: 600;
}

.empty-state {
    text-align: center;
    padding: 48px 20px;
    color: #64748b;
}

.preview-note {
    font-size: 0.8rem;
    margin-top: 16px;
    text-align: right;
    background: #f1f5f9;
    padding: 8px 16px;
    border-radius: 28px;
    display: inline-block;
}

footer {
    margin-top: 30px;
    text-align: center;
    font-size: 0.8rem;
    color: #9ca3af;
}