/* ============================================
   PROFIL SEITE - ELEGANT & MODERN
   ============================================ */

.profil-page {
    background: #f8fafc;
}

.profil-container {
    padding: 4rem 0;
}

/* ============================================
   HAUPT PROFIL CARD
   ============================================ */

.profil-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* Card Header */
.profil-card-header {
    background: linear-gradient(135deg, #0096ff 0%, #0077cc 100%);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.profil-card-header-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.profil-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffffff;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.profil-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.profil-card-subtitle {
    font-size: 0.938rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0.25rem 0 0 0;
}

.profil-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.938rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.profil-edit-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}

/* Service PIN Section */
.profil-pin-section {
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.08) 0%, rgba(0, 150, 255, 0.03) 100%);
    border-bottom: 3px solid #0096ff;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.profil-pin-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: #0096ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #ffffff;
    flex-shrink: 0;
}

.profil-pin-content {
    flex: 1;
}

.profil-pin-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.5rem;
}

.profil-pin-number {
    font-size: 2rem;
    font-weight: 700;
    color: #0096ff;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.5rem;
}

.profil-pin-note {
    font-size: 0.875rem;
    color: #718096;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profil-pin-note i {
    color: #0096ff;
}

/* Sections */
.profil-section {
    padding: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.profil-section:last-child {
    border-bottom: none;
}

.profil-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.profil-section-title i {
    color: #0096ff;
    font-size: 1.125rem;
}

/* Data Grid */
.profil-data-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.profil-data-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profil-data-item--full {
    grid-column: 1 / -1;
}

.profil-data-label {
    font-size: 0.813rem;
    font-weight: 600;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.profil-data-value {
    font-size: 1rem;
    font-weight: 500;
    color: #1a202c;
}

/* ============================================
   SIDEBAR
   ============================================ */

.profil-sidebar-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.profil-sidebar-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 1.25rem 0;
}

/* Quick Actions */
.profil-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.profil-quick-action {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    text-decoration: none;
    transition: all 0.2s ease;
}

.profil-quick-action:hover {
    background: rgba(0, 150, 255, 0.05);
    border-color: #0096ff;
}

.profil-quick-action-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #0096ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: #ffffff;
    flex-shrink: 0;
}

.profil-quick-action-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.profil-quick-action-title {
    font-size: 0.938rem;
    font-weight: 600;
    color: #1a202c;
}

.profil-quick-action-desc {
    font-size: 0.813rem;
    color: #718096;
}

.profil-quick-action-arrow {
    font-size: 0.875rem;
    color: #cbd5e0;
    transition: all 0.2s ease;
}

.profil-quick-action:hover .profil-quick-action-arrow {
    color: #0096ff;
}

/* Stats */
.profil-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profil-stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
}

.profil-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(0, 150, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: #0096ff;
    flex-shrink: 0;
}

.profil-stat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.profil-stat-label {
    font-size: 0.813rem;
    font-weight: 600;
    color: #718096;
}

.profil-stat-value {
    font-size: 0.938rem;
    font-weight: 600;
    color: #1a202c;
}

.profil-stat-value--success {
    color: #22c55e;
}

/* Support Card */
.profil-sidebar-card--support {
    background: linear-gradient(135deg, #0096ff 0%, #0077cc 100%);
    color: #ffffff;
    text-align: center;
}

.profil-sidebar-card--support .profil-sidebar-title {
    color: #ffffff;
}

.profil-support-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.profil-support-text {
    font-size: 0.938rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 1.5rem 0;
}

.profil-support-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.938rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.profil-support-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991.98px) {
    .profil-container {
        padding: 3rem 0;
    }

    .profil-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .profil-edit-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .profil-container {
        padding: 2rem 0;
    }

    .profil-card-header {
        padding: 1.5rem;
    }

    .profil-card-header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .profil-avatar {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }

    .profil-card-title {
        font-size: 1.5rem;
    }

    .profil-pin-section {
        flex-direction: column;
        padding: 1.5rem;
        text-align: center;
    }

    .profil-pin-icon {
        margin: 0 auto;
    }

    .profil-pin-number {
        font-size: 1.75rem;
    }

    .profil-section {
        padding: 1.5rem;
    }

    .profil-section-title {
        font-size: 1.125rem;
    }

    .profil-data-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .profil-data-item--full {
        grid-column: 1;
    }

    .profil-quick-action {
        padding: 0.875rem;
    }

    .profil-quick-action-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .profil-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .profil-card-title {
        font-size: 1.25rem;
    }

    .profil-pin-number {
        font-size: 1.5rem;
    }

    .profil-section {
        padding: 1.25rem;
    }

    .profil-data-label {
        font-size: 0.75rem;
    }

    .profil-data-value {
        font-size: 0.938rem;
    }
}

/* ============================================
   PROFIL BEARBEITEN - EDIT FORM
   ============================================ */

.profil-edit-card {
    margin-top: 0;
}

.profil-edit-header {
    background: linear-gradient(135deg, #0096ff 0%, #0077cc 100%);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-radius: 16px 16px 0 0;
}

.profil-edit-header-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.profil-edit-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.profil-edit-subtitle {
    font-size: 0.938rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0.25rem 0 0 0;
}

/* Edit Sections */
.profil-edit-section {
    padding: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.profil-edit-section:last-of-type {
    border-bottom: none;
}

/* Password Notice */
.profil-password-notice {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(0, 150, 255, 0.08);
    border: 1px solid rgba(0, 150, 255, 0.2);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: #4a5568;
}

.profil-password-notice i {
    color: #0096ff;
    font-size: 1.125rem;
    flex-shrink: 0;
}

/* Edit Grid */
.profil-edit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.profil-edit-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profil-edit-field--large {
    grid-column: span 2;
}

.profil-edit-field--small {
    grid-column: span 1;
}

.profil-edit-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #4a5568;
}

.profil-edit-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    background: #ffffff;
    color: #1a202c;
    transition: all 0.2s ease;
}

.profil-edit-input:focus {
    outline: none;
    border-color: #0096ff;
    box-shadow: 0 0 0 3px rgba(0, 150, 255, 0.1);
}

.profil-edit-input::placeholder {
    color: #a0aec0;
}

.profil-edit-input--error {
    border-color: #ef4444;
}

.profil-edit-input--error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.profil-edit-error {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.813rem;
    color: #ef4444;
    margin-top: 0.25rem;
}

.profil-edit-error i {
    font-size: 0.875rem;
}

/* Action Buttons */
.profil-edit-actions {
    padding: 2rem;
    background: #f8fafc;
    border-radius: 0 0 16px 16px;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.profil-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.profil-btn i {
    font-size: 1rem;
}

.profil-btn--primary {
    background: #0096ff;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 150, 255, 0.25);
}

.profil-btn--primary:hover {
    background: #0077cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 150, 255, 0.35);
    color: #ffffff;
}

.profil-btn--secondary {
    background: #ffffff;
    color: #4a5568;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.profil-btn--secondary:hover {
    background: #f8fafc;
    border-color: rgba(0, 0, 0, 0.25);
    color: #1a202c;
}

/* ============================================
   RESPONSIVE - EDIT FORM
   ============================================ */

@media (max-width: 991.98px) {
    .profil-edit-grid {
        grid-template-columns: 1fr;
    }

    .profil-edit-field--large,
    .profil-edit-field--small {
        grid-column: span 1;
    }
}

@media (max-width: 767.98px) {
    .profil-edit-header {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }

    .profil-edit-header-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }

    .profil-edit-title {
        font-size: 1.5rem;
    }

    .profil-edit-section {
        padding: 1.5rem;
    }

    .profil-edit-grid {
        gap: 1.25rem;
    }

    .profil-edit-actions {
        padding: 1.5rem;
        flex-direction: column;
    }

    .profil-btn {
        width: 100%;
    }

    .profil-password-notice {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .profil-edit-header {
        padding: 1.25rem;
    }

    .profil-edit-header-icon {
        width: 50px;
        height: 50px;
        font-size: 1.375rem;
    }

    .profil-edit-title {
        font-size: 1.25rem;
    }

    .profil-edit-subtitle {
        font-size: 0.875rem;
    }

    .profil-edit-section {
        padding: 1.25rem;
    }

    .profil-section-title {
        font-size: 1.125rem;
    }

    .profil-edit-label {
        font-size: 0.813rem;
    }

    .profil-edit-input {
        padding: 0.75rem 0.875rem;
        font-size: 0.938rem;
    }

    .profil-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.938rem;
    }
}