/* main.css */
* {
    font-family: 'Segoe UI', Calibri, sans-serif;
    color: #444;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 18px;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 20px 0;
}

h1, h2 {
    color: #23415A;
    font-size: 2.2em;
    margin-bottom: 20px;
    margin-top: 10px;
    font-weight: 600;
}

h2 {
    font-size: 1.5em;
}

.container {
    max-width: 95%;
    margin: 0 auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.info-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 10px;
    border-left: 4px solid #23415A;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-section p {
    margin: 8px 0;
    line-height: 1.6;
}

.info-section strong {
    color: #23415A;
    font-weight: 600;
}

.table {
    width: 100%;
    margin-top: 30px;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.table thead {
    background: linear-gradient(135deg, #23415A 0%, #2c5a7a 100%);
    color: white;
}

.table th {
    padding: 15px;
    text-align: center;
    font-weight: 600;
    color: white;
    border: none;
}

.table td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #e8e8e8;
}

.table tbody tr {
    transition: background-color 0.2s ease;
}

.table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.table tbody tr:hover {
    background-color: #e9ecef;
}

img {
    width: 250px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(2.0);
}

.btn-submit, .btn-submit_back {
    padding: 12px 24px;
    margin: 10px 10px 10px 0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-submit {
    background: linear-gradient(135deg, #23415A 0%, #2c5a7a 100%);
    color: #fff;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #2c5a7a 0%, #4682B4 100%);
    box-shadow: 0 6px 16px rgba(35, 65, 90, 0.3);
    transform: translateY(-2px);
}

.btn-submit_back {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: #fff;
}

.btn-submit_back:hover {
    background: linear-gradient(135deg, #5a6268 0%, #495057 100%);
    box-shadow: 0 6px 16px rgba(108, 117, 125, 0.3);
    transform: translateY(-2px);
}

.low-confidence {
    color: #dc3545;
    font-weight: 600;
}

.medium-confidence {
    color: #fd7e14;
    font-weight: 600;
}

.high-confidence {
    color: #28a745;
    font-weight: 600;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    h1 {
        font-size: 1.8em;
    }
    
    .table {
        font-size: 14px;
    }
    
    .table th,
    .table td {
        padding: 8px 5px;
    }
    
    img {
        width: 150px;
    }
    
    .btn-submit,
    .btn-submit_back {
        padding: 10px 16px;
        font-size: 14px;
        margin: 5px 5px 5px 0;
    }
}
