/* General Styles */
.user-profile-container {
    max-width: auto;
    margin: auto;
    padding: 20px;
}

.profile-head {
    text-align: center;
    margin-bottom: 20px;
}

.avatar {
    display: block;
    border-radius: 50%;
    margin: 0 auto;
    overflow: hidden;
    width: 100px;
    height: 100px;
}

.name {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
}

.biodata {
    margin-bottom: 20px;
    padding: 15px;
}

.biodata p {
    margin: 5px 0;
    font-size: 14px;
}

/* Tabs */
.tabs {
    display: flex;
    margin-bottom: 20px;
}

.tabs button {
    flex: 1;
    padding: 10px;
    border: none;
    background: #f1f1f1;
    cursor: pointer;
    font-size: 16px;
    color: #333;
}

.tabs button.active {
    background: #CC631B;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Forms */
.profile-form label {
    display: block;
    font-weight: bold;
    margin-top: 15px;
}

.profile-form input[type="text"],
.profile-form input[type="password"],
.profile-form input[type="file"] {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.profile-form input[type="submit"] {
    display: block;
    width: 100%;
    background: #CC631B;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    margin-top: 20px;
    cursor: pointer;
}

.name-fields {
    display: flex;
    gap: 10px;
}

.name-fields input {
    flex: 1;
}

/* Password Toggle */
.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding-right: 40px;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    user-select: none;
}

/* Password Requirements Checklist */
#password-requirements ul {
    list-style-type: none;
    padding: 0;
    margin: 10px 0;
}

#password-requirements li {
    margin: 5px 0;
    font-size: 14px;
}

.requirement-met {
    color: green;
}

.requirement-not-met {
    color: red;
}

/* Responsive Styles */
@media (max-width: 600px) {
    .name-fields {
        flex-direction: column;
    }
}