/* Dashboard Mockup Styles */

.dashboard-mockup {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: var(--background-dark);
    border: 1px solid var(--border-color);
    transform: perspective(1000px) rotateX(5deg);
    transition: all 0.5s ease;
}

.dashboard-mockup:hover {
    transform: perspective(1000px) rotateX(0deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.dashboard-mockup::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 50%, rgba(255, 107, 0, 0.05) 50%);
    background-size: 20px 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.dashboard-mockup:hover::before {
    opacity: 1;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--background-light);
    border-bottom: 1px solid var(--border-color);
}

.dashboard-title {
    font-size: 1.2rem;
    color: var(--text-light);
    margin: 0;
}

.dashboard-actions button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dashboard-actions button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.dashboard-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
}

.dashboard-panel {
    background: var(--background-light);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dashboard-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: all 0.5s ease;
}

.dashboard-panel:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.dashboard-panel:hover::before {
    left: 100%;
}

.panel-title {
    font-size: 1rem;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.panel-title i {
    margin-right: 0.5rem;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 0.5rem 0;
}

.metric-change {
    font-size: 0.9rem;
    color: #4CAF50;
}

.metric-change.negative {
    color: #f44336;
}

.social-feed {
    grid-column: span 2;
}

.feed-item {
    display: flex;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feed-item:hover {
    background: rgba(255, 107, 0, 0.05);
    border-radius: 4px;
    padding: 1rem;
    margin: 0 -1rem;
}

.feed-item:last-child {
    border-bottom: none;
}

.feed-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    transition: all 0.3s ease;
}

.feed-avatar:hover {
    transform: scale(1.1);
}

.feed-content {
    flex: 1;
}

.feed-user {
    font-weight: 600;
    color: var(--text-light);
    margin: 0 0 0.25rem 0;
}

.feed-text {
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
}

.feed-meta {
    display: flex;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.feed-meta span {
    margin-right: 1rem;
}

.feed-meta i {
    margin-right: 0.25rem;
}

.platform-tag {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.platform-twitter {
    background: rgba(29, 161, 242, 0.2);
    color: #1DA1F2;
}

.platform-facebook {
    background: rgba(24, 119, 242, 0.2);
    color: #1877F2;
}

.platform-instagram {
    background: rgba(228, 64, 95, 0.2);
    color: #E4405F;
}

.platform-linkedin {
    background: rgba(0, 119, 181, 0.2);
    color: #0077B5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dashboard-content {
        grid-template-columns: 1fr;
    }
    
    .social-feed {
        grid-column: span 1;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
    }
}