.principal-detail-page {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.principal-header-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 40px;
    align-items: center;
}

.principal-avatar {
    flex: 0 0 280px;
}

.principal-avatar img,
.principal-avatar-placeholder {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 6px solid #e31e24;
    box-shadow: 0 12px 35px rgba(227, 30, 36, 0.4);
}

.principal-avatar img {
    object-fit: cover;
    background: #f8f9fa;
}

.principal-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fde8e9, #fff);
    color: #e31e24;
    font-size: 4rem;
}

.principal-info h1 {
    font-size: 2.5rem;
    color: #e31e24;
    margin-bottom: 10px;
    font-weight: 700;
}

.principal-info .designation {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 20px;
}

.stats-row {
    display: flex;
    gap: 30px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #e31e24, #c41a20);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e31e24;
}

.message-full-card {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.message-title {
    font-size: 2rem;
    color: #e31e24;
    margin-bottom: 30px;
    font-weight: 700;
    border-left: 5px solid #e31e24;
    padding-left: 20px;
}

.message-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.share-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.share-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 1rem;
}

.share-title {
    font-size: 1.5rem;
    color: #e31e24;
    font-weight: 700;
}

.total-shares {
    background: linear-gradient(135deg, #e31e24, #c41a20);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
}

.share-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-weight: 600;
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.email { background: #666; }

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #e31e24;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
}

.back-btn:hover {
    background: #c41a20;
    color: white;
}

@media (max-width: 768px) {
    .principal-header-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .principal-avatar {
        flex: 0 0 auto;
    }

    .principal-avatar img,
    .principal-avatar-placeholder {
        width: 220px;
        height: 220px;
    }

    .principal-info h1 {
        font-size: 1.8rem;
    }

    .message-full-card,
    .share-section {
        padding: 30px 20px;
    }
}
