/* Menu Enhancements - Keep Existing Structure */
#header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
    position: relative;
}

#logo {
    flex-shrink: 0;
    padding: 8px 0;
}

#logo img {
    height: 50px;
    width: auto;
    transition: transform 0.2s ease;
}

#logo img:hover {
    transform: scale(1.02);
}

/* Navigation Menu Styling */
#nav-menu-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.nav-menu > li {
    position: relative;
    margin: 0 2px;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #495057;
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-menu > li > a:hover {
    background-color: rgba(93, 114, 178, 0.1);
    color: #5D72B2;
    transform: translateY(-1px);
}

.nav-menu > li > a.active {
    background: linear-gradient(135deg, #5D72B2 0%, #4a5b8e 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(93, 114, 178, 0.3);
}

/* Dropdown Styling */
.menu-has-children {
    position: relative;
}

.menu-has-children > a:after {
    content: '\f107';
    font-family: 'FontAwesome';
    margin-left: 8px;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.menu-has-children:hover > a:after {
    transform: rotate(180deg);
}

.menu-has-children > ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 99;
}

.menu-has-children:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-has-children > ul > li {
    width: 100%;
    margin: 0;
}

.menu-has-children > ul > li > a {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.menu-has-children > ul > li > a:hover {
    background-color: rgba(93, 114, 178, 0.1);
    color: #5D72B2;
}

.menu-has-children > ul > li > a i {
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

/* Message Notification */
.mail-notification {
    position: relative;
}

.mail-notification .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    padding: 0 5px;
    z-index: 1;
}

/* User Dropdown Styling - Fix overflow */
.auth-menu > .nav-menu:last-child {
    margin-left: 15px;
}

.auth-menu > .nav-menu:last-child > li > a {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e9ecef;
    border-radius: 50px;
    padding: 6px 16px;
    transition: all 0.2s ease;
}

.auth-menu > .nav-menu:last-child > li > a:hover {
    border-color: #5D72B2;
    box-shadow: 0 2px 8px rgba(93, 114, 178, 0.15);
    background-color: rgba(93, 114, 178, 0.05);
}

/* Fix user dropdown position */
.auth-menu > .nav-menu:last-child > li.menu-has-children > ul {
    left: auto;
    right: 0;
    transform-origin: top right;
}

/* Loan Account Styles */

/* Loan Account Header Section */
#profile {
    padding: 40px 0;
    background: linear-gradient(to right, #f8f9fa, #ffffff);
}

#profile .loan-history {
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

#profile .loan-history:hover {
    box-shadow: 0 8px 30px rgba(93, 114, 178, 0.1);
    transform: translateY(-2px);
}

#profile .loan-history h2 {
    color: #333;
    font-weight: 600;
    margin-bottom: 25px;
    font-size: 26px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 1px solid #eaeaea;
}

#profile .loan-history h2:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #5D72B2 0%, #4a5b8e 100%);
    border-radius: 3px;
}

/* Alert Styling */
#profile .alert {
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 25px;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
    animation: fadeIn 0.5s ease-out;
}

#profile .alert-success {
    background: linear-gradient(to right, #28a745, #20c997);
    color: white;
    border-left: 5px solid #1e7e34;
}

#profile .alert-danger {
    background: linear-gradient(to right, #dc3545, #f86b7d);
    color: white;
    border-left: 5px solid #bd2130;
}

/* Preface and Account Info Section */
#profile .preface {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    font-size: 15px;
    color: #495057;
    line-height: 1.6;
    border-left: 4px solid #5D72B2;
}

#profile .preface p {
    margin: 15px 0;
}

#profile .preface strong {
    color: #333;
    font-weight: 600;
}

/* Success Section for Completed Payments */
#profile .alert-success.text-center {
    padding: 25px;
    border-radius: 10px;
    border: 1px dashed #28a745;
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    text-align: center;
    margin-top: 20px;
}

#profile .alert-success.text-center strong {
    display: block;
    font-size: 18px;
    margin-bottom: 10px;
    color: #155724;
}

#profile .btn-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    border-radius: 50px;
    padding: 8px 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
}

#profile .btn-success:hover {
    background: linear-gradient(135deg, #20c997, #28a745);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(40, 167, 69, 0.3);
}

/* Payment Modal Styling */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.modal-header {
    border-bottom: 1px solid #eaeaea;
    padding: 20px 25px;
    position: relative;
}

.modal-header .close {
    position: absolute;
    right: 20px;
    top: 20px;
    opacity: 0.5;
    transition: all 0.2s ease;
}

.modal-header .close:hover {
    opacity: 1;
}

.modal-header h4 {
    font-weight: 600;
    color: #333;
    font-size: 20px;
}

.modal-body {
    padding: 25px;
}

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

.modal-body label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 8px;
    display: block;
}

.modal-body .form-control {
    height: 45px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    padding: 10px 15px;
    font-size: 14px;
    box-shadow: none;
    transition: all 0.2s ease;
}

.modal-body .form-control:focus {
    border-color: #5D72B2;
    box-shadow: 0 0 0 3px rgba(93, 114, 178, 0.15);
}

.modal-body .btn-primary {
    background: linear-gradient(135deg, #5D72B2 0%, #4a5b8e 100%);
    border: none;
    border-radius: 8px;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(93, 114, 178, 0.2);
    margin-top: 10px;
}

.modal-body .btn-primary:hover {
    background: linear-gradient(135deg, #4a5b8e 0%, #5D72B2 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(93, 114, 178, 0.3);
}

/* Transactions Table Styling */
#about {
    padding: 20px 0 60px;
}

#about .container {
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 30px;
    overflow-x: auto;
}

table.table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

table.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(93, 114, 178, 0.05);
}

table.table-bordered {
    border: 1px solid #eaeaea;
}

table.table th {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #495057;
    font-weight: 600;
    padding: 15px;
    border-bottom: 2px solid #dee2e6;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

table.table td {
    padding: 15px;
    vertical-align: middle;
    border-top: 1px solid #eaeaea;
    font-size: 14px;
    color: #495057;
}

/* Alignment classes for table cells */
.align-center {
    text-align: center;
}

.align-right {
    text-align: right;
}

/* Total row styling */
td.totals {
    font-weight: 700;
    color: #333;
    background-color: #f8f9fa;
}

/* Animation for alerts */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Confetti celebration styles */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* Mobile Styles */
@media (max-width: 991px) {
    #nav-menu-container {
        position: relative;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: #fff;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        border-radius: 0 0 8px 8px;
        padding: 15px;
        z-index: 999;
        max-height: 80vh;
        overflow-y: auto;
        display: none;
    }

    .nav-menu.show {
        display: block;
    }

    .nav-menu > li {
        width: 100%;
        margin: 0 0 5px 0;
    }

    .nav-menu > li > a {
        width: 100%;
        padding: 12px 15px;
        color: #495057 !important;
        background: transparent;
        border-radius: 6px;
        border: 1px solid transparent;
    }

    .nav-menu > li > a:hover {
        background-color: rgba(93, 114, 178, 0.1) !important;
        color: #5D72B2 !important;
        border-color: rgba(93, 114, 178, 0.2);
    }

    .menu-has-children > ul {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        border: 1px solid #e9ecef;
        border-radius: 6px;
        margin: 8px 0 0 20px;
        display: none;
        width: auto;
        max-width: 100%;
    }

    .menu-has-children.active > ul {
        display: block;
    }

    .menu-has-children > a:after {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    .menu-has-children.active > a:after {
        transform: translateY(-50%) rotate(180deg);
    }

    /* Mobile user menu */
    .auth-menu > .nav-menu:last-child {
        margin-left: 0;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #e9ecef;
    }

    .auth-menu > .nav-menu:last-child > li > a {
        border-radius: 6px;
        width: 100%;
        justify-content: flex-start;
    }

    /* Fix for hidden dropdown items */
    .menu-has-children > ul > li > a {
        color: #495057 !important;
        padding: 10px 15px;
    }

    /* Fix mobile toggle */
    #mobile-nav-toggle {
        display: block;
        position: fixed;
        right: 15px;
        top: -4px;
        z-index: 999;
        border: 0;
        background: black;
        font-size: 24px;
        transition: all 0.4s;
        outline: none;
        cursor: pointer;
    }

    .mail-notification .badge{
        top: 14px;
        right: 128px;

    }

    /* Fix mobile messages */
    .hidden-md-down {
        display: none !important;
    }

    .hidden-lg-up {
        display: block !important;
    }
}

/* Small screens */
@media (max-width: 768px) {
    #logo img {
        height: 40px;
    }

    .nav-menu > li > a,
    .menu-has-children > ul > li > a {
        font-size: 13px;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    #header .container {
        padding: 0 10px;
    }

    #logo {
        max-width: 70%;
    }

    #logo img {
        height: 35px;
    }

    .nav-menu {
        max-height: 75vh;
        padding: 10px;
    }

    .nav-menu > li > a {
        padding: 10px 12px;
        font-size: 12px;
    }

    .menu-has-children > ul > li > a {
        padding: 8px 12px;
        font-size: 12px;
    }

    .menu-has-children > ul {
        margin-left: 10px;
    }
}

/* Profile Builder Modern Styles - Scoped to avoid global conflicts */

/* Profile Section Header - Scoped */
section#profile {
    padding: 40px 0 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

section#profile .container {
    animation: fadeIn 0.5s ease-out;
}

/* Profile Avatar Section - Scoped */
section#profile .profile {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    border: 4px solid #fff;
    transition: all 0.3s ease;
}

section#profile .profile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(93, 114, 178, 0.2);
}

/* Target the actual avatar container and image - Scoped */
section#profile .profile .pic {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

section#profile .profile .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Fallback for any direct images in .profile - Scoped */
section#profile .profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Profile Quote Section - Scoped */
section#profile .quote {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

section#profile .quote:hover {
    box-shadow: 0 8px 30px rgba(93, 114, 178, 0.1);
}

section#profile .quote h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

section#profile .quote .percent {
    background: linear-gradient(135deg, #5D72B2 0%, #4a5b8e 100%);
    color: #fff;
    padding: 3px 10px;
    border-radius: 50px;
    margin-left: 8px;
    font-size: 18px;
}

section#profile .quote .float-right a {
    color: #5D72B2;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 5px 10px;
    border-radius: 6px;
}

section#profile .quote .float-right a:hover {
    background-color: rgba(93, 114, 178, 0.1);
    text-decoration: none;
}

/* Profile File Upload Styling */
.image-upload-form {
    margin-top: 20px;
}

.upload-container {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.upload-container .input-group {
    flex: 1;
    margin: 0;
}

.upload-container .input-group-btn {
    display: flex;
}

.btn-browse {
    height: 45px;
    border-radius: 8px 0 0 8px;
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: #fff;
    border: none;
    font-weight: 500;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-browse:hover {
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
    transform: translateY(-1px);
}

.file-display {
    height: 45px;
    border-radius: 0;
    border: 1px solid #e9ecef;
    border-left: none;
    padding: 10px 15px;
    background-color: #f8f9fa;
    font-size: 14px;
    color: #6c757d;
}

.btn-upload {
    height: 45px;
    border-radius: 8px;
    background: linear-gradient(135deg, #5D72B2 0%, #4a5b8e 100%);
    color: #fff;
    border: none;
    font-weight: 500;
    padding: 0 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(93, 114, 178, 0.2);
    white-space: nowrap;
}

.btn-upload:hover {
    background: linear-gradient(135deg, #4a5b8e 0%, #5D72B2 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(93, 114, 178, 0.3);
    color: #fff;
}

/* Mobile Upload Styling */
.mobile-upload-container {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border: 2px dashed #dee2e6;
    text-align: center;
}

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

.mobile-upload-container label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 10px;
    display: block;
}

.mobile-upload-container .form-control {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 10px;
    background: #fff;
}

.mobile-upload-container .btn-upload {
    width: 100%;
    justify-content: center;
}

/* File input JavaScript enhancement styles */
.file-selected {
    color: #495057 !important;
    font-weight: 500;
}

.upload-success {
    border-color: #28a745 !important;
    background-color: rgba(40, 167, 69, 0.1) !important;
}

/* Update Profile Image label styling - Scoped */
section#profile .quote .row .col-md-12 {
    font-size: 16px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e9ecef;
}

/* Responsive adjustments - Scoped */
@media (max-width: 991px) {
    .upload-container {
        flex-direction: column;
        gap: 15px;
    }

    .upload-container .input-group {
        width: 100%;
    }

    .btn-upload {
        width: 100%;
        justify-content: center;
    }
}

/* Top Section Styles (Navigation and Content) - Scoped */
section#top {
    padding: 40px 0;
    background-color: #fff;
}

/* Navigation Pills Styling - Scoped */
section#top .nav-pills {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 15px;
    overflow: hidden;
    position: sticky;
    top: 90px;
}

section#top .nav-pills li {
    width: 100%;
    margin-bottom: 5px;
}

section#top .nav-pills .nav-link {
    border-radius: 8px;
    padding: 12px 15px;
    color: #495057;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

section#top .nav-pills .nav-link:hover {
    background-color: rgba(93, 114, 178, 0.1);
    color: #5D72B2;
    transform: translateX(3px);
}

section#top .nav-pills .nav-link.active {
    background: linear-gradient(135deg, #5D72B2 0%, #4a5b8e 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(93, 114, 178, 0.3);
}

/* Profile Welcome Section - Scoped */
section#top .profile-welcome {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.5s ease-out;
}

section#top .profile-welcome h2 {
    color: #333;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 24px;
    position: relative;
    padding-bottom: 10px;
}

section#top .profile-welcome h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #5D72B2 0%, #4a5b8e 100%);
    border-radius: 3px;
}

section#top .profile-welcome p {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 20px;
}

section#top .profile-welcome .guide {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
    border-left: 4px solid #5D72B2;
}

section#top .profile-welcome .guide h4 {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

section#top .profile-welcome .guide h4 i {
    color: #5D72B2;
    margin-right: 8px;
    font-size: 18px;
}

section#top .profile-welcome .guide p {
    margin-bottom: 15px;
    padding-left: 26px;
    font-size: 14px;
}

section#top .profile-welcome .btn {
    background: linear-gradient(135deg, #5D72B2 0%, #4a5b8e 100%);
    border: none;
    border-radius: 8px;
    padding: 12px 25px;
    color: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(93, 114, 178, 0.2);
}

section#top .profile-welcome .btn:hover {
    background: linear-gradient(135deg, #4a5b8e 0%, #5D72B2 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(93, 114, 178, 0.3);
}/* Shared Form Styles for Profile Sections Only */
section#top form,
section#top .profile-welcome form {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    animation: fadeIn 0.5s ease-out;
}

section#top .form-group,
section#top .profile-welcome .form-group {
    margin-bottom: 20px;
}

section#top form label,
section#top .profile-welcome form label {
    display: block;
    color: #495057;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
}

section#top form .form-control,
section#top .profile-welcome form .form-control {
    height: 45px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    padding: 10px 15px;
    font-size: 14px;
    transition: all 0.2s ease;
}

section#top form .form-control:focus,
section#top .profile-welcome form .form-control:focus {
    border-color: #5D72B2;
    box-shadow: 0 0 0 3px rgba(93, 114, 178, 0.15);
    outline: none;
}

section#top form select.form-control,
section#top .profile-welcome form select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23495057' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 30px;
}

section#top form textarea.form-control,
section#top .profile-welcome form textarea.form-control {
    height: auto;
    min-height: 120px;
    resize: vertical;
}

.select2-container--default .select2-selection--single {
    height: 45px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 45px;
    padding-left: 15px;
    color: #495057;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 43px;
}

/* Alert Default Style */
.alert-default {
    background-color: rgba(93, 114, 178, 0.1);
    border-left: 4px solid #5D72B2;
    color: #495057;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.alert-default i {
    color: #5D72B2;
    margin-right: 8px;
}

/* Form Submit Button */
.submit-margin {
    margin-top: 20px;
}

.btn-custom {
    background: linear-gradient(135deg, #5D72B2 0%, #4a5b8e 100%);
    border: none;
    border-radius: 8px;
    padding: 12px 25px;
    color: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(93, 114, 178, 0.2);
}

.btn-custom:hover {
    background: linear-gradient(135deg, #4a5b8e 0%, #5D72B2 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(93, 114, 178, 0.3);
    color: #fff;
}

/* Section Headings - Specific to Profile Sections */
#top .row h4,
.profile-welcome .row h4 {
    color: #333;
    font-weight: 600;
    margin: 10px 0;
}

/* Entries List Styling */
.entry-list {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.entry-list:hover {
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

/* Delete Modal Styling */
.delete-modal .modal-content {
    border-radius: 12px;
    overflow: hidden;
    border: none;
}

.delete-modal .modal-header {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
    border: none;
}

.delete-modal .modal-footer .btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
    border-radius: 8px;
}

.delete-modal .modal-footer .btn-secondary {
    background: #6c757d;
    border: none;
    border-radius: 8px;
}

/* Additional Information Section */
.additional-information {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.2s ease;
}

.additional-information:hover {
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* File Upload Section */
.input-group-btn .one-pixel {
    margin: 0;
    height: 50px;
}

.input-group-btn .one-pixel .btn {
    height: 50px;
    border-radius: 8px 0 0 8px;
    background: linear-gradient(135deg, #5D72B2 0%, #4a5b8e 100%);
    color: #fff;
    font-weight: 500;
    border: none;
}

/* Responsive Styles for Profile */
@media (max-width: 991px) {
    section#profile .profile {
        width: 150px;
        height: 150px;
    }

    section#top .nav-pills {
        margin-bottom: 30px;
        position: static;
    }

    section#top form,
    section#top .profile-welcome form {
        padding: 20px;
    }
}

@media (max-width: 767px) {
    section#profile {
        padding: 20px 0 10px;
    }

    section#profile .quote {
        padding: 20px;
        margin-top: 20px;
    }

    section#profile .quote h3 {
        font-size: 18px;
    }

    section#top {
        padding: 20px 0;
    }

    section#top .profile-welcome {
        padding: 20px;
    }

    section#top .form-group,
    section#top .profile-welcome .form-group {
        margin-bottom: 15px;
    }

    section#top form label,
    section#top .profile-welcome form label {
        font-size: 13px;
    }

    section#profile .entry-list {
        font-size: 13px;
    }
}

/* Messages Page Modern Styles - Scoped */
section#profile .notification-container {
    margin-top: 30px;
}

section#profile h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 25px;
    font-size: 26px;
    display: flex;
    align-items: center;
    gap: 10px;
}

section#profile .unread-mail-count {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Left Pane - Messages List */
section#profile .left-pane {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 0;
    overflow: hidden;
    max-height: 70vh;
    overflow-y: auto;
}

section#profile .notification {
    border-bottom: 1px solid #f1f3f4;
    transition: all 0.2s ease;
    position: relative;
    background: #fff;
}

section#profile .notification:hover {
    background-color: rgba(93, 114, 178, 0.05);
    transform: translateX(3px);
}

section#profile .notification:last-child {
    border-bottom: none;
}

section#profile .notification a {
    display: block;
    padding: 20px;
    text-decoration: none;
    color: inherit;
}

section#profile .notification a:hover {
    text-decoration: none;
    color: inherit;
}

section#profile .notification-header {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

section#profile .notification-date {
    font-size: 12px;
    color: #6c757d;
    font-weight: 400;
    white-space: nowrap;
    margin-left: 10px;
}

section#profile .notification-body {
    color: #495057;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 5px;
}

/* Unread message styling */
section#profile .notification:not(.message_read) {
    background: linear-gradient(to right, rgba(93, 114, 178, 0.02), rgba(93, 114, 178, 0.05));
    border-left: 4px solid #5D72B2;
}

section#profile .notification:not(.message_read) .notification-header {
    color: #5D72B2;
}

section#profile .notification:not(.message_read):before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 8px;
    height: 8px;
    background: #dc3545;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px #dc3545;
}

/* Right Pane - Message Content */
section#profile .right-pane {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    min-height: 400px;
}

section#profile .notification-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f3f4;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

section#profile .notification-title .notification-date {
    font-size: 14px;
    color: #6c757d;
    font-weight: 400;
    margin-left: 0;
}

/* Message content styling */
section#profile .right-pane p {
    color: #495057;
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 15px;
}

section#profile .right-pane h1,
section#profile .right-pane h2,
section#profile .right-pane h3,
section#profile .right-pane h4 {
    color: #333;
    font-weight: 600;
    margin: 20px 0 15px 0;
}

section#profile .right-pane ul,
section#profile .right-pane ol {
    margin: 15px 0;
    padding-left: 25px;
}

section#profile .right-pane li {
    margin-bottom: 8px;
    color: #495057;
    line-height: 1.6;
}

/* Select message prompt */
section#profile .select-message {
    text-align: center;
    color: #6c757d;
    font-size: 18px;
    font-style: italic;
    margin-top: 100px;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

/* No messages state */
section#profile .no-messages {
    text-align: center;
    color: #6c757d;
    font-size: 16px;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 2px dashed #dee2e6;
    font-style: italic;
}

section#profile .no-messages:before {
    content: '📭';
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

/* Scrollbar styling for left pane */
section#profile .left-pane::-webkit-scrollbar {
    width: 6px;
}

section#profile .left-pane::-webkit-scrollbar-track {
    background: #f1f1f1;
}

section#profile .left-pane::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

section#profile .left-pane::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Responsive Messages Styles */
@media (max-width: 991px) {
    section#profile .left-pane {
        margin-bottom: 30px;
        max-height: 50vh;
    }

    section#profile .notification a {
        padding: 15px;
    }

    section#profile .notification-header {
        font-size: 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    section#profile .notification-date {
        margin-left: 0 !important;
    }

    section#profile .right-pane {
        padding: 20px;
    }

    section#profile .notification-title {
        font-size: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 767px) {
    section#profile h3 {
        font-size: 22px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    section#profile .notification a {
        padding: 12px;
    }

    section#profile .notification-body {
        font-size: 13px;
    }

    section#profile .right-pane {
        padding: 15px;
        min-height: 300px;
    }

    section#profile .notification-title {
        font-size: 18px;
    }

    section#profile .select-message {
        font-size: 16px;
        margin-top: 50px;
        padding: 30px 20px;
    }
}

/* Notice/CTA Section Modern Styles - Improved Structure */
section.cta {
    background: linear-gradient(135deg, #5D72B2 0%, #4a5b8e 100%);
    padding: 40px 0;
    position: relative;
}

section.cta .container {
    position: relative;
    max-width: 1200px;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

section.cta .cta-wider {
    width: 100%;
}

section.cta .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

section.cta h2 {
    color: #fff;
    font-weight: 600;
    font-size: 22px;
    margin-bottom: -30px;
    word-break: break-word;
}

section.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.6;
    margin-top: 40px;
    word-break: break-word;
}

/* Email Verification Forms */
section.cta .form-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 10px;
}

section.cta .form-inline .form-group {
    margin-bottom: 0;
    flex: 1 1 auto;
    min-width: 200px;
}

section.cta .form-inline .form-control {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 10px 15px;
    color: #fff;
    font-size: 14px;
    width: 100%;
}

section.cta .form-inline .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

section.cta .form-inline .form-control:focus {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    outline: none;
}

section.cta .btn-custom,
section.cta .btn-default {
    background: #ffffff;
    color: #5D72B2;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    min-width: 120px;
}

section.cta .btn-custom:hover,
section.cta .btn-default:hover {
    background: #f8f9fa;
    color: #4a5b8e;
    transform: translateY(-2px);
}

section.cta .btn-grey {
    background: rgba(108, 117, 125, 0.9) !important;
    color: #fff !important;
}

section.cta .btn-grey:hover {
    background: #6c757d !important;
}

section.cta .data-progress {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    margin-left: 5px;
    display: inline-block;
}

section.cta .btn-ghost {
    background: #ffffff;
    color: #5D72B2;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: inline-block;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    margin-top: 10px;
}

section.cta .btn-ghost:hover {
    background: #f8f9fa;
    color: #4a5b8e;
    transform: translateY(-2px);
}

section.cta .btn-ghost.text-warning {
    color: #ffc107 !important;
    background-color: #55535c !important;
    max-width: 100%;
    width: auto;
    box-sizing: border-box;
    margin-top: 10px;
    padding: 10px 15px;
}

section.cta .btn-ghost.text-warning:hover {
    background-color: #484650 !important;
}

section.cta .text-lg-left {
    text-align: left;
}

section.cta .text-center {
    text-align: center;
}

section.cta .text-lg-right {
    text-align: right;
}

/* Fix for pull-right */
section.cta .pull-right {
    float: right;
    width: 100%;
}

/* Appeal Process */
section.cta .text-warning {
    color: #ffc107 !important;
}

section.cta i.fa {
    margin-right: 5px;
}

/* Stats Section Modern Styles - Clean & Simple */
section.portal-stats-body {
    padding: 50px 0;
    background: #f8f9fa;
    position: relative;
}

section.portal-stats-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #e9ecef;
}

section.portal-stats-body .stats-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

section.portal-stats-body .stats-col {
    background: #fff;
    border-radius: 10px;
    padding: 30px 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin: 15px;
}

section.portal-stats-body .stats-col:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(93, 114, 178, 0.15);
}

section.portal-stats-body .circle {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #5D72B2 0%, #4a5b8e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(93, 114, 178, 0.2);
}

section.portal-stats-body .stats-no-portal {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

section.portal-stats-body .stats-caption {
    color: #495057;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}

/* Alert styling for unverified users */
section.portal-stats-body .alert-default {
    background: #f8f9fa;
    border: none;
    border-left: 4px solid #5D72B2;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

section.portal-stats-body .alert-default h3 {
    color: #495057;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

section.portal-stats-body .alert-default i {
    font-size: 22px;
    color: #ffc107;
}

/* Responsive Styles for Notice and Stats */
@media (max-width: 991px) {
    section.cta .form-inline {
        flex-direction: column;
        align-items: flex-start;
    }

    section.cta .form-inline .form-control {
        width: 100%;
    }

    section.cta .pull-right {
        float: none;
        margin-top: 15px;
    }

    section.cta .text-lg-right,
    section.cta .text-lg-left {
        text-align: center !important;
    }

    section.cta .col-lg-9,
    section.cta .col-lg-3 {
        width: 100%;
        margin-bottom: 15px;
    }

    section.cta .btn-ghost {
        display: inline-block;
        margin: 10px auto;
    }

    section.portal-stats-body .stats-col {
        margin-bottom: 15px;
    }
}

@media (max-width: 767px) {
    section.cta {
        padding: 30px 0;
    }

    section.cta h2 {
        font-size: 18px;
    }

    section.cta p {
        font-size: 14px;
    }

    section.cta .btn-custom,
    section.cta .btn-default,
    section.cta .btn-ghost {
        width: 100%;
        margin-bottom: 10px;
        font-size: 13px;
        padding: 10px 15px;
    }

    section.cta .form-inline {
        width: 100%;
    }

    section.cta .form-inline .form-group {
        width: 100%;
    }

    section.cta .form-inline .form-control {
        width: 100%;
    }

    section.portal-stats-body {
        padding: 40px 0;
    }

    section.portal-stats-body .circle {
        width: 70px;
        height: 70px;
    }

    section.portal-stats-body .stats-no-portal {
        font-size: 22px;
    }

    section.portal-stats-body .stats-caption {
        font-size: 14px;
        margin-top: 59px;
    }
}

@media (max-width: 480px) {
    section.cta {
        padding: 25px 0;
    }

    section.cta h2 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    section.cta p {
        font-size: 13px;
        margin-bottom: 10px;
    }

    section.cta .data-progress {
        display: block;
        margin: 10px auto;
        width: fit-content;
    }

    section.cta .btn-ghost.text-warning {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* Auth Check Screen Modern Styles */
section.check-point-header {
    background: linear-gradient(135deg, #5D72B2 0%, #4a5b8e 100%);
    padding: 60px 0;
    position: relative;
}

section.check-point-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

section.check-point-header .container {
    position: relative;
    z-index: 2;
}

section.check-point-header .new-reg {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

section.check-point-header h2 {
    color: #fff;
    font-weight: 700;
    font-size: 36px;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

section.check-point-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
}

section.check-point-header h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 25px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

section.check-point-header h4 a {
    color: #ffc107;
    text-decoration: underline;
    font-weight: 600;
}

section.check-point-header h4 a:hover {
    color: #fff;
    text-decoration: none;
}

/* Auth Check Body Styles */
section.check-point-body {
    background: #f8f9fa;
    padding: 80px 0;
    min-height: 70vh;
}

section.check-point-body .check-point {
    text-align: center;
    margin-bottom: 50px;
}

section.check-point-body .check-point h2 {
    color: #333;
    font-weight: 600;
    font-size: 28px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

section.check-point-body .check-point h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #5D72B2 0%, #4a5b8e 100%);
    border-radius: 3px;
}

section.check-point-body .check-point p {
    color: #6c757d;
    font-size: 16px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Form Container */
section.check-point-body .form {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

section.check-point-body .form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #5D72B2 0%, #4a5b8e 100%);
}

/* Form Elements */
section.check-point-body .form-group {
    margin-bottom: 30px;
}

section.check-point-body .form-group label {
    color: #495057;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 10px;
    display: block;
}

section.check-point-body .form-control {
    height: 50px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fff;
    width: 100%;
}

section.check-point-body .form-control:focus {
    border-color: #5D72B2;
    box-shadow: 0 0 0 0.2rem rgba(93, 114, 178, 0.15);
    outline: none;
    background: #fff;
}

section.check-point-body .select2-container--default .select2-selection--single {
    height: 50px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    background: #fff;
}

section.check-point-body .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 46px;
    padding-left: 20px;
    color: #495057;
    font-size: 15px;
}

section.check-point-body .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px;
    right: 20px;
}

section.check-point-body .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #5D72B2;
    box-shadow: 0 0 0 0.2rem rgba(93, 114, 178, 0.15);
}

/* Submit Button */
section.check-point-body button[type="submit"] {
    background: linear-gradient(135deg, #5D72B2 0%, #4a5b8e 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(93, 114, 178, 0.3);
    display: block;
    margin: 30px auto 0;
    min-width: 200px;
}

section.check-point-body button[type="submit"]:hover {
    background: linear-gradient(135deg, #4a5b8e 0%, #5D72B2 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(93, 114, 178, 0.4);
}

section.check-point-body button[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(93, 114, 178, 0.3);
}

/* Alert Styling */
section.check-point-body .alert {
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 25px;
    border: none;
    font-size: 14px;
}

section.check-point-body .alert-danger {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(200, 35, 51, 0.05) 100%);
    border-left: 4px solid #dc3545;
    color: #721c24;
}

section.check-point-body .alert-success {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(32, 201, 151, 0.05) 100%);
    border-left: 4px solid #28a745;
    color: #155724;
}

section.check-point-body .alert-info {
    background: linear-gradient(135deg, rgba(93, 114, 178, 0.1) 0%, rgba(74, 91, 142, 0.05) 100%);
    border-left: 4px solid #5D72B2;
    color: #0c5460;
}

/* Responsive Design */
@media (max-width: 991px) {
    section.check-point-header {
        padding: 40px 0;
    }

    section.check-point-header h2 {
        font-size: 28px;
    }

    section.check-point-header p {
        font-size: 16px;
    }

    section.check-point-body {
        padding: 60px 0;
    }

    section.check-point-body .form {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    section.check-point-header {
        padding: 30px 0;
    }

    section.check-point-header h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    section.check-point-header p {
        font-size: 15px;
    }

    section.check-point-header h4 {
        font-size: 14px;
        padding: 12px 20px;
    }

    section.check-point-body {
        padding: 40px 0;
    }

    section.check-point-body .check-point h2 {
        font-size: 24px;
    }

    section.check-point-body .check-point p {
        font-size: 15px;
    }

    section.check-point-body .form {
        padding: 25px 20px;
    }

    section.check-point-body .form-control,
    section.check-point-body .select2-container--default .select2-selection--single {
        height: 45px;
    }

    section.check-point-body .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 41px;
        font-size: 14px;
    }

    section.check-point-body button[type="submit"] {
        padding: 12px 30px;
        font-size: 14px;
        min-width: 160px;
    }
}

@media (max-width: 480px) {
    section.check-point-header h2 {
        font-size: 20px;
    }

    section.check-point-header p {
        font-size: 14px;
    }

    section.check-point-body .check-point h2 {
        font-size: 20px;
    }

    section.check-point-body .form {
        padding: 20px 15px;
    }

    section.check-point-body button[type="submit"] {
        width: 100%;
        min-width: auto;
    }
}
