/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
.header {
    margin-bottom: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 4px;
    overflow: hidden;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-info h1 {
    font-size: 18px;
    color: #555;
    margin-bottom: 5px;
}

.logo-info p {
    font-size: 14px;
    color: #666;
}

/* Main Card Styles */
.main-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.page-title {
    font-size: 36px;
    font-weight: bold;
    color: #1976d2;
    text-align: left;
    margin-bottom: 20px;
}

.intro-text {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: left;
}

/* Information Sections */
.info-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.info-section {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.section-header {
    background: #1976d2;
    color: white;
    padding: 15px 20px;
    font-weight: bold;
    font-size: 16px;
}

.info-content {
    padding: 20px;
}

.info-item {
    margin-bottom: 15px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.label {
    font-weight: bold;
    color: #555;
    display: block;
    margin-bottom: 5px;
}

.value {
    color: #333;
    font-size: 16px;
}

.sum-insured {
    padding: 20px;
    text-align: center;
}

.sum-insured span {
    font-size: 48px;
    font-weight: bold;
    color: #1976d2;
}

/* Transaction Table */
.transaction-section {
    margin-bottom: 20px;
}

.transaction-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.transaction-table th {
    background: #1976d2;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: bold;
}

.transaction-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    color: #333;
}

.transaction-table tr:last-child td {
    border-bottom: none;
}

.status {
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
}

.status.approved {
    background: #e8f5e8;
    color: #2e7d32;
}

.status.not-approved {
    color: #c62828;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

/* Footer */
.footer-text {
    font-size: 14px;
    color: #666;
    text-align: left;
    margin-bottom: 20px;
}

/* Navigation */
.nav-section {
    text-align: center;
}

.nav-button {
    display: inline-block;
    background: #1976d2;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.nav-button:hover {
    background: #1565c0;
}

/* Form Styles */
.insurance-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.form-section h3 {
    color: #1976d2;
    margin-bottom: 20px;
    font-size: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #1976d2;
}

.form-group input[type="number"] {
    text-align: right;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.submit-button,
.cancel-button {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-button {
    background: #1976d2;
    color: white;
}

.submit-button:hover {
    background: #1565c0;
}

.cancel-button {
    background: #f5f5f5;
    color: #666;
    border: 2px solid #ddd;
}

.cancel-button:hover {
    background: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .main-card {
        padding: 20px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .info-sections {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sum-insured span {
        font-size: 36px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .logo {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .logo-info h1 {
        font-size: 16px;
    }
    
    .logo-info p {
        font-size: 12px;
    }
}
