/* ==========================================================================
   PROFILE PAGE STYLES - SUBTLE CRIMSON CHECKER THEME
   ========================================================================== */

body.profile-page {
    background-color: #030712;
    background-image: 
        linear-gradient(45deg, rgba(127, 29, 29, 0.12) 25%, transparent 25%), 
        linear-gradient(-45deg, rgba(127, 29, 29, 0.12) 25%, transparent 25%), 
        linear-gradient(45deg, transparent 75%, rgba(127, 29, 29, 0.12) 75%), 
        linear-gradient(-45deg, transparent 75%, rgba(127, 29, 29, 0.12) 75%),
        radial-gradient(circle at 50% 20%, rgba(153, 27, 27, 0.15) 0%, transparent 70%);
    background-size: 32px 32px, 32px 32px, 32px 32px, 32px 32px, 100% 100%;
    background-position: 0 0, 0 16px, 16px -16px, -16px 0, 0 0;
    color: #f1f5f9;
}

.profile-container {
    max-width: 850px;
    margin: 60px auto;
    padding: 0 20px;
    width: 100%;
}

.profile-card {
    background: rgba(15, 23, 42, 0.85); /* Matches header #0f172a tone */
    border: 1px solid rgba(153, 27, 27, 0.4);
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(127, 29, 29, 0.15);
    backdrop-filter: blur(10px);
}

.profile-header-block {
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid rgba(153, 27, 27, 0.25);
    padding-bottom: 25px;
    margin-bottom: 30px;
}

.profile-avatar-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #0d1322;
    border: 2px solid #991b1b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    font-size: 1.8rem;
    box-shadow: 0 0 10px rgba(153, 27, 27, 0.3);
}

.profile-title-area h1 {
    margin: 0 0 4px 0;
    font-size: 1.8rem;
    color: #f8fafc;
}

.profile-title-area p {
    margin: 0;
    color: #f87171;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.profile-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.detail-item {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(153, 27, 27, 0.3);
    padding: 18px 20px;
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.detail-item:hover {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 0 10px rgba(153, 27, 27, 0.2);
}

.detail-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #f87171;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    font-weight: 700;
}

.detail-value {
    font-size: 1.05rem;
    color: #f1f5f9;
    word-break: break-all;
    font-weight: 500;
}

.profile-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.btn-crimson-danger {
    background-color: #7f1d1d;
    color: #ffffff;
    border: 1px solid #991b1b;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.btn-crimson-danger:hover {
    background-color: #991b1b;
    box-shadow: 0 0 10px rgba(153, 27, 27, 0.4);
    transform: translateY(-2px);
}