﻿body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f5f6fa;
    margin: 0;
    padding: 0;
}


.status-message {
    display: block; /* Ensures the label is displayed as a block element */
    margin-top: 10px; /* Adds space between the TextBox/Button and the message */
    font-size: 14px;
    font-family: Arial, sans-serif;
    text-align: center; /* Center align the message */
    padding: 5px;
    color: #ff0000; /* Default color for error message */
    width: 100%; /* Ensure it takes up the full width available */
    max-width: 300px; /* Limit the width if needed */
    margin-left: auto; /* Center the message horizontally */
    margin-right: auto; /* Center the message horizontally */
}

    /* CSS for error message */
    .status-message.error {
        color: red;
    }

    /* CSS for success message */
    .status-message.success {
        color: green;
    }

.header1 {
    text-align: center;
    padding: 25px;
    background: linear-gradient(90deg, #003366, #0066cc);
    color: white;
    font-size: 22px;
    font-weight: bold;
}

/* Search Section */
.search-section {
    margin: 30px 0;
    display: flex;
    justify-content: center;
}

.search-box {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

    .search-box input[type="text"], .search-box input[type="search"], .search-box .aspTextBox {
        padding: 10px 15px;
        border-radius: 12px;
        border: 1px solid #ccc;
        font-size: 14px;
        width: 250px;
        transition: all 0.3s ease-in-out;
    }

        .search-box input[type="text"]:focus, .search-box .aspTextBox:focus {
            border-color: #0d47a1;
            box-shadow: 0 0 8px rgba(13, 71, 161, 0.3);
            outline: none;
        }

    .search-box button, .search-box .aspButton {
        padding: 10px 25px;
        border-radius: 12px;
        border: none;
        background: linear-gradient(90deg, #0d47a1, #1976d2);
        color: #fff;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease-in-out;
    }

        .search-box button:hover, .search-box .aspButton:hover {
            background: linear-gradient(90deg, #1976d2, #42a5f5);
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(25, 118, 210, 0.4);
        }

/* Consumer Details Panel */
.consumer-details {
    margin-top: 30px;
    padding: 20px;
    border-radius: 15px;
    background: #f5f5f5;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: auto;
}

    .consumer-details h3 {
        color: #0d47a1;
        margin-bottom: 20px;
    }

    .consumer-details table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        text-align: center;
        min-width: 900px;
    }

    .consumer-details th {
        background: linear-gradient(90deg, #0d47a1, #1976d2);
        color: #fff;
        padding: 12px;
        font-weight: 600;
        font-size: 14px;
    }

    .consumer-details td {
        padding: 12px;
        border: 1px solid #ddd;
        font-size: 14px;
        color: #333;
    }

    .consumer-details tbody tr:nth-child(even) {
        background-color: #e3f2fd;
    }

    .consumer-details tbody tr:hover {
        background-color: #bbdefb;
        transition: all 0.3s ease-in-out;
    }

.form-check-input:checked + label {
    color: #0d6efd;
    font-weight: 600;
}

.btn-modern {
    border: none;
    padding: 10px 30px;
    font-size: 16px;
    border-radius: 30px;
    color: #fff;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    font-weight: 600;
}

    .btn-modern:focus {
        outline: none;
        box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.3);
    }

.btn-cancel {
    background: linear-gradient(45deg, #ff4d4d, #ff6b6b);
}

    .btn-cancel:hover {
        background: linear-gradient(45deg, #ff1a1a, #ff4d4d);
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(255, 77, 77, 0.4);
    }

.btn-submit {
    background: linear-gradient(45deg, #007bff, #00bfff);
}

    .btn-submit:hover {
        background: linear-gradient(45deg, #0062cc, #0088cc);
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(0, 136, 204, 0.4);
    }

.btn-container {
    text-align: center;
    margin-top: 20px;
}

.declaration-card {
    background: linear-gradient(135deg, #f9f9f9, #e0f7fa);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

    .declaration-card:hover {
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        transform: translateY(-2px);
    }

.declaration-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

    .declaration-checkbox input[type="checkbox"] {
        width: 20px;
        height: 20px;
        accent-color: #007bff; /* Attractive checkbox color */
        margin-top: 3px;
    }

.declaration-text {
    flex: 1;
}

/* Card container */
.payment-card {
    background: #f5f5f5;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    margin-top: 20px;
}

    .payment-card:hover {
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        transform: translateY(-2px);
    }

/* Table styling */
.payment-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

    .payment-table thead {
        background: linear-gradient(90deg, #1976d2, #42a5f5);
        color: #fff;
        font-weight: 600;
        font-size: 14px;
    }

    .payment-table th, .payment-table td {
        padding: 12px 10px;
        border: 1px solid #ddd;
    }

    .payment-table tbody tr:nth-child(even) {
        background-color: #e3f2fd;
    }

    .payment-table tbody tr:hover {
        background-color: #bbdefb;
        transition: all 0.3s ease-in-out;
    }

    .payment-table td asp\:Label {
        font-weight: 500;
        color: #0d47a1;
    }

/* Responsive */
@media(max-width: 768px) {
    .payment-table th, .payment-table td {
        font-size: 12px;
        padding: 8px 5px;
    }
}

/* Card styling */
.emi-card {
    background: #f5f5f5;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    margin-top: 20px;
}

    .emi-card:hover {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        transform: translateY(-2px);
    }

/* Table styling */
.emi-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

    .emi-table thead {
        background: linear-gradient(90deg, #0d47a1, #1976d2);
        color: #fff;
        font-weight: 600;
        font-size: 14px;
    }

    .emi-table th, .emi-table td {
        padding: 12px 10px;
        border: 1px solid #ddd;
    }

    .emi-table tbody tr:nth-child(even) {
        background-color: #e3f2fd;
    }

    .emi-table tbody tr:hover {
        background-color: #bbdefb;
        transition: all 0.3s ease-in-out;
    }

/* Highlight total payable rows */
.highlight-row {
    background: linear-gradient(90deg, #ff8a65, #ff7043);
    color: #fff;
    font-weight: 600;
}

/* Labels inside table */
.emi-table td asp\:Label {
    font-weight: 500;
    color: #0d47a1;
}

/* Responsive */
@media(max-width: 768px) {
    .emi-table th, .emi-table td {
        font-size: 12px;
        padding: 8px 5px;
    }
}

/* Payment Card */
.payment-options-card {
    background: linear-gradient(145deg, #e9f7ff, #ffffff);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 8px 20px rgba(13,71,161,0.08);
}

.option-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: 8px 14px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

    .option-chip:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    }

    .option-chip .form-check-input {
        width: 20px;
        height: 20px;
        accent-color: #0d47a1;
    }

.highlight {
    background-color: yellow;
    transition: background-color 1s ease;
}
#wrapper {
    min-height: 100vh;
    height: 100%;
    position: relative;
}