/* Profile Wrapper */

.success{
    color:#2DBDB6;
}
.error{
    color: red;
}
.profile-wrapper {
    background: transparent;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Profile Top Bar */
.profile-topbar {
    padding: 0 20px 20px 0;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.back-btn {
    cursor: pointer;
    color: #3d3d3d;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0;
}
.profile-username {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    flex: 1;
}

/* Profile Main Container */
.profile-main {
    display: flex;
    flex: 1;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 30px 20px 20px 0;
}

/* Profile Sidebar Menu */
.profile-sidebar {
    width: 280px;
    background: #fff;
    border-radius: 0;
    padding: 20px 0;
    height: stretch;
    position: relative;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.profile-main .menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    color: #555;
    text-decoration: none;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.profile-main .menu-item i {
    font-size: 18px;
    color: #2DBDB6;
    min-width: 24px;
}

.profile-main .menu-item:hover {
    background: #f8f9fa;
    color: #2DBDB6;
    border-left-color: #2DBDB6;
}

.profile-main .menu-item.active {
    background: #e8f4f8;
    color: #2DBDB6;
    border-left-color: #2DBDB6;
}

.menu-item span {
    flex: 1;
}

/* Profile Content Area */
.profile-content-area {
    flex: 1;
    background: #fff;
    padding: 40px;
    min-height: calc(100vh - 200px);
}

/* Tab Headers */
.tab-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #2DBDB6;
}

.tab-header h2 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 26px;
    font-weight: 700;
}

.tab-subtitle {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* Profile Tab Content */
.profile-tab-content {
    display: none;
    animation: fadeInTab 0.4s ease;
}

.profile-tab-content.active {
    display: block;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Profile Card */

.card-avatar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.name h3{
    margin: 0;
    font-size: 20px;
}
.profile-img{
    width: 90px;
    height: 90px;
    display: inline-block;
    margin-right: 20px;
}
.avatar-image {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    border: 1px solid #cbcbcb;
    display: block;
    padding: 5px;
}
.card-details{
    margin-top: 20px;
}
.card-details h3 {
    margin: 0 0 30px 0;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

/* Detail Grid */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.detail-item {
    background: #efefef;
    padding: 18px;
    border-radius: 0;
}

.detail-item.full-width {
    grid-column: 1 / -1;
}

.detail-item label {
    display: block;
    font-weight: 600;
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.detail-item p {
    margin: 0;
    font-size: 15px;
    word-break: break-word;
}
.detail-item select {
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 0;
    width: 100%;
    padding: 11px;
    height: auto;
}
/* Settings Card */
.settings-card {
    display: grid;
    gap: 25px;
}

.setting-item {
    background: #efefef;
    padding: 25px;
}

.setting-item h3 {
    margin: 0 0 12px 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.setting-item p {
    margin: 0 0 8px 0;
    color: #555;
    font-size: 14px;
}

.setting-item small {
    display: block;
    margin-top: 8px;
    color: #999;
    font-size: 12px;
}
.profile-content-area .detail-item input,
.profile-content-area .detail-item textarea {
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 0;
    width: 100%;
    padding: 11px;
    height: auto;
}
.profile-main .fusion-button{
    padding: 10px 50px;
}

.feedback-form-card input,
.feedback-form-card textarea,
.feedback-form-card select,
.feedback-form-card label {
    display: block;
    margin: 7px 0;
    width: 100%;
}
/* Responsive Design */
@media (max-width: 1024px) {
    .profile-main {
        gap: 20px;
        padding: 20px;
    }

    .profile-sidebar {
        width: 220px;
    }

    .profile-content-area {
        padding: 30px;
    }

    .profile-card {
        grid-template-columns: 150px 1fr;
        gap: 30px;
    }

    .avatar-image {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 768px) {
    .profile-main {
        flex-direction: column;
        gap: 20px;
        padding: 15px;
    }

    .profile-sidebar {
        width: 100%;
        padding: 0;
        position: relative;
        top: auto;
        height: auto;
    }

    .sidebar-menu {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .menu-item {
        flex: 1;
        min-width: 120px;
        padding: 12px 15px;
        font-size: 13px;
        border-left: none;
        border-bottom: 3px solid transparent;
        border-radius: 4px 4px 0 0;
    }

    .menu-item:hover,
    .menu-item.active {
        border-left: none;
        border-bottom-color: #2DBDB6;
        background: #e8f4f8;
    }

    .profile-content-area {
        padding: 20px;
    }

    .profile-card {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .avatar-image {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }

    .detail-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .card-details h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .profile-topbar {
        padding: 12px 15px;
        gap: 10px;
    }

    .back-btn {
        font-size: 14px;
        padding: 6px 8px;
    }

    .profile-username {
        font-size: 15px;
    }

    .profile-content-area {
        padding: 15px;
        min-height: auto;
    }

    .tab-header h2 {
        font-size: 20px;
    }

    .menu-item {
        padding: 10px 12px;
        gap: 10px;
    }

    .menu-item i {
        font-size: 16px;
    }

    .detail-item,
    .setting-item {
        padding: 15px;
    }
}
