.address-list {
    background-color: transparent;
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    grid-gap: 1rem;
}

    .address-list .address-box {
        position: relative;
        background-color: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 14px;
        padding: 14px 16px;
        display: flex;
        flex-direction: column;
        max-width: 100%;
        cursor: pointer;
        overflow: hidden;
        z-index: 1;
        transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
    }

        .address-list .address-box:hover {
            border-color: rgba(239, 85, 38, .35);
            box-shadow: 0 8px 22px rgba(17, 24, 39, .06);
            transform: translateY(-1px);
        }

        /* Aktif adres - sade turuncu border + soft glow */
        .address-list .address-box.active-address {
            border-color: #ef5526;
            background: linear-gradient(180deg, #fff7f2 0%, #fff 60%);
            box-shadow: 0 0 0 3px rgba(239, 85, 38, .12), 0 8px 20px rgba(239, 85, 38, .08);
        }


.address-list .address-box .address-box-title {
    background-color: transparent;
    width: 100%;
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 10px 20px;
}

.address-list .address-box .address-box-title h4 {

    font-size: 1.2em;
    font-style: normal;
    margin-left: 10px;
    margin-top: auto;
    margin-bottom: auto;
}

.address-list .address-box .address-box-title .address-box-icon {

    font-size: 20px;

}

.address-default-box {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    font-size: 13px;
    font-weight: bold;
    color: #ef5526;
    z-index: 10;
    height: auto;
    width: auto;
}

    .address-default-box p {
        margin: 0;
        padding: 0;
        font-size: 13px;
        color: #ef5526;
    }

    .address-default-box svg {
        width: 16px;
        height: 16px;
        color: #ef5526;
    }


.set-address-default-box {
    position: absolute;
    top: 15px;
    right: 10px;
    transition: all 0.3s;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    padding: 2px;
}

    .set-address-default-box svg {
        width: 22px;
        height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
    }


.set-address-default-box .activate-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    width: 200%;
    opacity: 0;
    transition: all 0.3s;
} 

.set-address-default-box:hover .activate-text {
    opacity: 1;
    left: -70%;
}

.set-address-default-box:hover svg {
    background: #cdcdcd;
}

.set-address-default-box:hover ::after {
    opacity: 0.5;
}

    .set-address-default-box button {
        width: 100%;
        height: 100%;
        background-color: #ef5526;
        color: rgb(212, 223, 233);
        border: none;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.3s;
    }

.address-box .set-address-default-box button:hover {
    background-color: #3d6ea2;
    color: white;
}

.address-box-title {

}

.address-list .address-box .address-body {
    width: 100%;
    height: 100%;
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px;
}

.address-list .address-box .address-body .address-line-1 {
    color: black;
}

.address-list .address-box .address-body .address-line-2 {
    color: gray;
}

.address-list .address-box .address-body .address-phone {
    color: gray;
}

.address-list .address-box .address-body .address-edit {
    color: black;
    width: 20px;
    height: 20px;
    transition: all 0.3s;
}

.address-list .address-box .address-body .address-edit a {
    position: relative;
    color: black;
    z-index: 5;
}

    .address-list .address-box .address-body .address-edit a::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        background-color: #ef5526;
        width: 80%;
        height: 0px;
        transform: translateX(10%);
        transition: all 0.3s;
        z-index: 4;
        opacity: 0.2;
        border-radius: 1px;
    }

    .address-list .address-box .address-body .address-edit:hover a {
        color: #ef5526;
    }

.address-list .address-box .address-body .address-edit:hover a::after {
    height: 100%;
}

.send-address-title {
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 10px 20px;
    gap: 10px;
}

.send-address-title h4 {
    color: black;
    font-size: 1.2em;
    font-style: normal;
    margin-left: 10px;
    margin: 0;
}

    .send-address-title a {
        background-color: white;
        color: #ef5526;
        border: 2px solid #ef5526;
        border-radius: 4px;
        padding: 5px 10px;
        font-size: 1em;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 5px;
        transition: all 0.3s;
        margin-left: 10px;
    }

        .send-address-title a:hover {
            background-color: #ef5526;
            color: white;
        }

.send-address-title .send-address-icon svg {
    width: 20px !important;
    height: 20px !important;
}

.send-billing-address {
    font-weight: bold !important;
    font-size: 1.1em !important;
}

.send-billing-address .send-address-icon {
    width: 20px !important;
    height: 20px !important;
}

@media screen and (max-width: 480px) { 
    
    .address-list {
        grid-template-columns: repeat(1, 1fr);
    }
    
}

.razor-modal-content .address-list {
    grid-template-columns: repeat(1, 1fr);
}