.container1_1 {
    width: 85%;
    margin: 87px auto;
    padding: 20px;
    font-family: 'Poppins', sans-serif;
    color: #333;
    position: relative;
    background-color: #ffffff;
}



.container1_1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("https://lpgvitarakdealerchayan.in/assets/images/pahal1.webp");
    background-size: 40%;
    /* Adjust size of the watermark */
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
    /* Very light watermark effect */
    pointer-events: none;
    z-index: 1;
}

/* Ensure content stays above the watermark */
.container1_1>* {
    position: relative;
    z-index: 2;
}



.card {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.sub-head {
    background-color: #f39c12;
    padding: 12px;
    color: white;
    border-radius: 8px;
    font-size: 2rem;
    margin-bottom: 10px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.detail-row-1{
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.detail-row div {
    width: 48%;
}
.detail-row-1 div {
    width: 48%;
}


.payment-info {
    font-size: 1.1rem;
    padding: 12px;
    background-color: #eef2f7;
    border-radius: 8px;
}

.main_profile {
    display: flex;
    justify-content: space-between;
    width: 90%;
}

.applicant-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.applicant-info div {
    width: 50%;
    padding: 10px 0;
}

.img_user {
    padding: 10px 0;
    border: 1px solid #d1cece;
    width: 20%;
    text-align: center;
}

.user_detail {
    display: flex;
    gap: 15rem;
    text-align: center;
    padding: 10px 0;
}

/* Responsive Design */

/* For tablets and larger mobile screens (max-width: 768px) */
@media (max-width: 768px) {
    .container1_1 {
        width: 95%;
        margin: 50px auto;
    }
    .detail-row {
        flex-direction: column;
    }
    .detail-row div {
        width: 100%;
        margin-bottom: 10px;
    }
    .main_profile {
        flex-direction: column;
        width: 100%;
    }
    .applicant-info div {
        width: 100%;
    }
    .img_user {
        width: 40%;
    }
    .user_detail {
        flex-direction: column;
        gap: 1rem;
    }
    .detail-row-1{
        margin-top: 20px;
    }
}

/* For mobile screens (max-width: 480px) */
@media (max-width: 480px) {
    .sub-head {
        font-size: 1.5rem;
    }
    .container1_1 {
        width: 100%;
        margin: 20px auto;
        padding: 15px;
    }
    .detail-row {
        flex-direction: column;
    }
    .detail-row div {
        width: 100%;
    }
    .main_profile {
        flex-direction: column;
        width: 100%;
    }
    .applicant-info div {
        width: 100%;
    }
    .img_user {
        width: 60%;
    }
    .user_detail {
        flex-direction: column;
        gap: 1rem;
    }
}


.logout-button {
    background-color: #f44336; /* Red */
    color: white;
    border: none;
    padding: 1px 7px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    margin: 10px;
}

.logout-button:hover {
    background-color: #d32f2f; /* Darker red */
}
