

/* Hide original blocks */
.block-dashboard-info, .block-dashboard-addresses {
    display: none !important;
}

.custom-dashboard-unified {
    background: transparent;
    padding: 0;
    margin: 20px 0;
}

.customer-account-index .col-main{
    padding: 25px 35px 0px 25px!important;
    border-radius: 10px!important;
    position :relative;
}


.dashboard-sections-container {
    display: flex;
    width: 100%;
    position: relative;
    align-items: flex-start;
}

.dashboard-sections-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.5px;
    background-color: #e0e0e0;
    z-index: 1;
}


.dashboard-sections-container::after {
    content: '';
    position: absolute;
    top: 45px;
    left: 0;
    right: 0;
    height: 0.5px;
    background-color: #e0e0e0;
    z-index: 1;
}

.dashboard-section.contact-section {
    flex: 1;
    padding: 0 20px;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.dashboard-section.address-sections {
    flex: 2;
    padding: 0;
    display: flex;
}

.address-sections-wrapper {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.address-section.billing-section {
    
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: start;
    width : 200px;
}

.address-section.shipping-section {
    min-height: auto;
    display: flex;
    flex-direction: column;
    width: 217px;
}

.section-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    color: #004047;
    margin: 15px 0;
    padding: 0;
    text-align: left;
    height: 15px;
    display: flex;
    align-items: center;
}

.section-content {
    margin: 15px 0 10px 0;
    padding: 0;
}

.customer-info, .address-content {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 13px;
    line-height: 140%;
    color: #004047;
    margin: 0;
    padding: 0;
}

.address-content address {
    font-style: normal;
    margin: 0;
    padding: 0;
}

.section-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

/* Button styling */
.action-button {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 140%;
    border-radius: 10px;
    height: 32px;
    padding: 6px 10px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    gap: 5px;
    width: fit-content;
}

.action-button:hover{
    color : #004047!important;
}

.edit-button {
    background: #27D9E5;
    min-width: 79px;
    color: black;
}

.password-button {
    background: #FFD700;
    min-width: 201px;
    color: black;
}

.action-button:hover {
    text-decoration: none;
    opacity: 0.9;
    color: #131212!important;
}

.action-button svg {
    width: 10px;
    height: 10px;
    fill: black;
}

.block-content .box {
    margin: 0;
    border: none;
    background: none;
    padding: 0;
}

.block-content .box-title, .block-content .box-actions {
    display: none;
}

.block-content .box-content {
    padding: 0;
    margin: 0;
}

.contact-info-section {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: inherit;
}

.contact-info-section,
.address-section {
    margin: 0;
}

.contact-info-section .section-content,
.address-section .section-content {
    margin: 15px 0 10px 0;
}


.row-content .col-main{
    width: calc(100% - 312px)!important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .dashboard-sections-container {
        flex-direction: column;
        padding: 0;
        border-top: 1px solid #F2F4F5;
    }
    
    /* All sections take full width and align to start on mobile */
    .dashboard-section.contact-section,
    .dashboard-section.address-sections {
        flex: none;
        width: 100%;
        align-items: flex-start;
        margin-bottom: 20px;
    }
    
    .address-sections-wrapper {
        flex-direction: column;
    }
    
    /* Reset alignment for mobile - all align to start */
    .address-section.billing-section,
    .address-section.shipping-section {
        align-items: flex-start;
        margin-bottom: 20px;
    }
    
    .billing-section .section-title,
    .billing-section .section-content,
    .billing-section .section-actions,
    .shipping-section .section-title,
    .shipping-section .section-content,
    .shipping-section .section-actions {
        align-self: flex-start;
    }
    
    .dashboard-sections-container::before,
    .dashboard-sections-container::after {
        display: none;
    }
    
    .section-title {
        border-bottom: unset;
        margin-bottom: 10px;
        padding-bottom: 0px;
        padding-top: 20px;
        margin-top: 5px;
    }

    .row-content .col-main{
        width :100%!important;
    }
}