/* Main style */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    font-family: Poppins;
}

a {
    color: #6EC1E4;
}
a.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #6EC1E4;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

a.button:hover {
    background-color: #0056b3;
}

/* Utility class to toggle visibility */
.hidden {
    display: none !important;
}

/* Utility class to toggle visibility */
.show {
    display: block !important;
}

.button {
    background-color: #6EC1E4;
}

p {
    color: #696c73;
}

.bank-transfer {
    color: #696c73;
}

.bank-transfer h3 {
    font-size: 16px;
    color: #696c73;
    margin-top: 34px;
}

.bank-transfer p {
    margin-bottom: 6px;
}

.bank-transfer footer>p {
    margin-bottom: 0;
    color: #b2b2b2;
    font-size: 12px;
}

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

.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

b, strong {
	color: #696c73;
}

button[disabled], input[disabled] {
    color: #696c73;
}

/* Personal Area - Documents */
.panel-documento {
    border: 2px solid #d2d2d2;
    margin: 10px;
    padding: 20px;
    text-align: center;
}

.documento-download {
    border: 2px solid #d2d2d2;
    text-align: center;
}


/* Personal Area - Personal data */
.form-control:disabled, .form-control[readonly] {
    background-color: #e9ecef;
    opacity: 1;
}

/* Styles for tables with class "personal-data" */
/* Modal styles */
#password-modal .modal-content {
    padding: 20px;
    position: relative;
}

#password-modal .close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
}

/* Styles for tables with class "personal-data" */
table.personal-data {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse; /* Ensure borders are applied correctly */
}

table.personal-data td {
    padding: 10px;
}

table.personal-data input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

/* Style for tables with class "row-border" */
table.row-border {
    border: none; /* Remove all borders */
}

/* Style for tables with class "row-border" */
table.row-border thead{
    border: none; /* Remove all borders */
}

/* Style for tables with class "row-border" */
table.row-border thead tr{
    border: none; /* Remove all borders */
}

/* Style for tables with class "row-border" */
table.row-border thead tr th{
    border: none; /* Remove all borders */
}

table.row-border td, th{
    border: none; /* Remove all borders */
}

table.row-border tr {
    border-bottom: 1px solid #ccc; /* Add border only to the bottom row */
}

table.row-border tr:last-child {
    border:none; /* Add border only to the bottom row */
}

/* Button row styles */
.button-row {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.button-row button {
    margin: 5px;
}

/* Styles for tables with class "personal-data" */
/* Modal styles */
#address-modal .modal-content {
    padding: 20px;
    position: relative;
}

#address-modal .close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
}

/* Styles for tables with class prelevare-iban */
/* Modal styles */
#iban-modal .modal-content {
    padding: 20px;
    position: relative;
}

#iban-modal .close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
}


/* Style for portfolio page */
/* Custom CSS for row borders */
.portfolio-table.row-border {
    border-collapse: collapse; /* Ensure borders are collapsed */
    width: 100%;
}

.portfolio-table.row-border th,
.portfolio-table.row-border td {
    border: none; /* Remove default borders */
    padding: 8px; /* Add padding for better spacing */
}

.portfolio-table.row-border tbody tr th{
    border-bottom: 1px solid #ddd; /* Add border to the bottom of each row */
}

.portfolio-table.row-border tbody th{
    border-bottom: 1px solid #ddd; /* Add border to the bottom of each row */
}

.portfolio-table.row-border tbody tr:last-child {
    border-bottom: none; /* Remove border from the last row */
}

.portfolio-performance{
    color: #696c73;
    font-family: "Poppins", Sans-serif;
}

.portfolio-average-performance{
    color: #6EC1E4;
    font-size: 36px;
    font-family: "Poppins", Sans-serif;
    font-weight: 600;
    height: 100%;
}

.portfolio-project-name{
    color: #696c73;
    font-size: 36px;
    font-family: "Poppins", Sans-serif;
    font-weight: 600;
    height: 100%;
}

/* Shortcode project detail payments*/
.portfolio-payments-table {
    width: 100%;
    border-collapse: collapse; /* Ensures borders are merged */
}

.portfolio-payments-table th.payment-header,
.portfolio-payments-table td {
    padding: 10px;
    text-align: left;
    border-right: 1px solid #ddd; /* Vertical border between columns */
}

.portfolio-payments-table th.payment-header {
    background-color: #f5f5f5; /* Light gray background for headers */
    border-bottom: 1px solid #ddd; /* Horizontal border below headers */
}

.portfolio-payments-table tr {
    border-bottom: none; /* Remove horizontal borders between rows */
}

/* Carousel payments */
.interest-payments-carousel {
    position: relative;
    margin: 0 auto;
}

.carousel {
    position: relative;
    overflow: hidden;
}

.carousel-slide {
    display: none; /* Hide slides by default */
}

.carousel-slide table {
    width: 100%;
    border-collapse: collapse;
}

.carousel-slide td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
}

.carousel-prev, .carousel-next {
    position: absolute;
    transform: translateY(-50%);
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    z-index: 100;
}

.carousel-prev {
    /*left: -40px;*/ /* Adjust position */
    left: 0px;
}

.carousel-next {
    /*right: -40px;*/ /* Adjust position */
    right: 0px;
}

.carousel-prev:hover, .carousel-next:hover {
    background-color: #005177;
}

.carousel-pagination {
    text-align: center;
    padding: 10px;
}

.carousel-pagination .slick-dots {
    display: inline-block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.carousel-pagination .slick-dots li {
    display: inline-block;
    margin: 0 5px;
}

.carousel-pagination .slick-dots li button {
    background-color: #ccc;
    border: none;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    padding: 0;
    font-size: 0;
    cursor: pointer;
}

.carousel-pagination .slick-dots li.slick-active button {
    background-color: #0073aa;
}

.inv-status-badge {
    background-color: var(--e-global-color-primary);
    color: white;
    padding: 4px 8px;
    text-align: center;
    border-radius: 5px;
  }

.status-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.status-paid {
    margin-top: 5px;
    background-color: #d4edda;
    color: #155724;
}

.status-pending {
    margin-top: 5px;
    background-color: #fff3cd;
    color: #856404;
}

.project-document-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Space between items */
}

.project-document-item {
    flex: 0 0 calc(50% - 10px); /* Each item takes exactly 50% width minus half the gap */
    box-sizing: border-box;
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.project-document-item p {
    margin: 0 0 10px 0;
    font-weight: bold;
}

.project-document-item a {
    color: inherit;
    text-decoration: none;
}

.project-document-item .elementor-icon-list-icon svg {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.project-document-item .elementor-icon-list-text {
    margin-left: 5px;
}

.payment-amount{
    font-weight: 600;
    font-size: 20px;
    color: black;
}

.payment-date {
    font-weight: 400;
}

.portfolio-payments-table {
    border-collapse: collapse; /* Ensure borders are merged */
    width: 100%;
    color: #696c73; 
    border: none;
}
.portfolio-payments-table th,
.portfolio-payments-table td {
    border-left: none;
    border-top: none;
    border-bottom: none;
    padding: 0px; /* Add padding for better spacing */
    text-align: center; /* Center-align text */
}
.portfolio-payments-table th:last-child,
.portfolio-payments-table td:last-child {
    border: none; /* Remove border from the last column */
}


/* Hide specific columns on mobile devices */
@media (max-width: 767px) {
    .hide-on-mobile {
        display: none;
    }

    .min-width-100{
        min-width: 100%;
    }
}

.portfolio-number-project{
    color: #696c73;
    font-family: "Poppins", Sans-serif;
}