* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.alt-profile-dashboard {
    max-width: 1400px;
    margin: 0 auto;
    background: #f8fafc;
    border-radius: 20px;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

.alt-profile-menu-wrapper {
    position: relative;
    z-index: 1;
    pointer-events: auto;
    margin: 10px 0;
    display: block;
    clear: both;
}

.alt-profile-menu-container {
    display: flex !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    background: transparent !important;
}

.alt-profile-menu-wrapper.menu-style-vertical .alt-profile-menu-container {
    flex-direction: column !important;
    gap: 8px !important;
}

.alt-profile-menu-wrapper.menu-style-horizontal .alt-profile-menu-container {
    flex-direction: row !important;
    flex-wrap: wrap !important;
}

.alt-profile-menu-wrapper.menu-style-grid .alt-profile-menu-container {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
    gap: 10px !important;
}

.alt-profile-menu-link,
.alt-profile-menu-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 20px !important;
    background: #f3f4f6 !important;
    border-radius: 30px !important;
    color: #374151 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
    line-height: 1 !important;
}

.alt-profile-menu-link:hover,
.alt-profile-menu-btn:hover {
    background: #2563eb !important;
    color: white !important;
    transform: translateY(-2px) !important;
    text-decoration: none !important;
}

.alt-profile-logout-btn {
    background: #fef2f2 !important;
    color: #dc2626 !important;
}

.alt-profile-logout-btn:hover {
    background: #dc2626 !important;
    color: white !important;
}

.profile-form .form-group {
    margin-bottom: 25px;
}

.profile-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.profile-form input,
.profile-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s;
    background: #ffffff;
}

.profile-form input:focus,
.profile-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.alt-profile-btn {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.alt-profile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.form-message {
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 12px;
    display: none;
    font-weight: 500;
}

.form-message.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.form-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #dc2626;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

@media (max-width: 768px) {
    .alt-profile-menu-link,
    .alt-profile-menu-btn {
        white-space: normal !important;
        text-align: center;
    }
}