
.my-profile-container {
    max-width: 900px;
    margin: 80px auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    font-family: Arial, sans-serif;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}


.my-profile-container h2 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: bold;
}


.tab-header {
    display: flex;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    border: none;
    background-color: #f9f9f9;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.tab.active {
    border-bottom: 3px solid #228b22;
    background-color: #fff;
    color: #228b22;
}


.profile-card {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}


.profile-left {
    flex: 0 0 200px;
    text-align: center;
}

.photo-section {
    margin-bottom: 10px;
}

.photo-circle {
    width: 120px;
    height: 120px;
    background-color: #228b22;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    margin: 0 auto 10px auto;
    cursor: pointer;
}

.profile-left a {
    font-size: 13px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.profile-left a:hover {
    text-decoration: underline;
}


.profile-right {
    flex: 1;
    min-width: 300px;
}

.profile-right p {
    margin: 8px 0;
    font-size: 14px;
}

.profile-right p strong {
    text-transform: uppercase;
    font-weight: bold;
    margin-right: 5px;
}

.profile-right i.edit {
    margin-left: 5px;
    color: #228b22;
    cursor: pointer;
}

.profile-right i.fa-lock {
    margin-left: 5px;
    color: #ccc;
}

.profile-right small {
    font-size: 11px;
    color: #7f8c8d;
    margin-left: 5px;
}


.profile-right hr {
    margin: 15px 0;
    border: none;
    border-top: 1px solid #ccc;
}


.btn.save {
    padding: 10px 25px;
    background-color: #006400;
    color: #fff;
    border: none;
    border-radius: 5px;
    float: right;
    margin-top: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn.save:hover {
    background-color: #006400;
}


@media screen and (max-width: 768px) {
    .profile-card {
        flex-direction: column;
        align-items: center;
    }

    .profile-left {
        margin-bottom: 20px;
    }

    .btn.save {
        width: 100%;
        text-align: center;
        float: none;
    }
}

/* Darkened fullscreen overlay */
.edit-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;                  /* hidden by default */
    justify-content: center;        /* center horizontally */
    align-items: center;            /* center vertically */
    z-index: 9999;
}

/* Modal box */
.edit-popup-content {
    width: 450px;                   /* similar to your example */
    background: #fff;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
}

/* Form label */
.edit-popup-content label {
    display: block;
    margin-top: 15px;
    font-weight: 600;
}

/* Inputs */
.edit-popup-content input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

/* Buttons area */
.edit-popup-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn.cancel {
    background: #c0392b;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
}

.btn.save {
    background: #038014;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
}





