/* Guest view styles for Carbon Updates Dashboard */

/* Guest view specific variables */
body.guest-view {
    --guest-primary-color: #4caf50;
    --guest-secondary-color: #2196f3;
    --guest-text-color: #333;
    --guest-bg-color: #f9f9f9;
    --guest-font-size: 1.1rem;
}

/* Larger, more readable text for guest view */
body.guest-view .layer-item label,
body.guest-view .context-content p,
body.guest-view .search-input::placeholder,
body.guest-view .project-description,
body.guest-view .notification-message {
    font-size: var(--guest-font-size);
}

/* More prominent view buttons for guests */
body.guest-view .view-button {
    padding: 12px 24px;
    font-size: 1.2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    margin: 0 5px;
}

body.guest-view .view-button i {
    font-size: 1.4rem;
}

body.guest-view .view-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Guest instructions panel */
.guest-instructions {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 350px;
    max-width: 90vw;
    padding: 20px;
    z-index: 1000;
    transition: transform 0.3s, opacity 0.3s;
}

.guest-instructions.dismissed {
    transform: translateY(100px);
    opacity: 0;
}

.guest-instructions.hidden {
    display: none;
}

.instructions-header {
    margin-bottom: 15px;
}

.instructions-header h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.instructions-header p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.instructions-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.instruction-step {
    display: flex;
    gap: 15px;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

.dismiss-instructions {
    width: 100%;
    padding: 10px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
}

.dismiss-instructions:hover {
    background-color: #43a047;
}

/* Guest tooltips */
.guest-tooltip {
    margin-left: 5px;
    color: var(--accent-color);
    cursor: help;
}

/* Simplified layer panel for guests */
body.guest-view .layer-group-header {
    background-color: rgba(76, 175, 80, 0.1);
    border-left: 4px solid var(--accent-color);
    padding: 15px;
}

body.guest-view .layer-group-header h3 {
    font-size: 1.1rem;
}

body.guest-view .layer-item {
    padding: 12px 15px 12px 35px;
}

/* Hide advanced features for guests */
body.guest-view .advanced-feature,
body.guest-view .hidden {
    display: none !important;
}

/* Simplified context panel for guests */
body.guest-view .context-placeholder {
    padding: 30px 20px;
}

body.guest-view .context-placeholder i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

body.guest-view .context-placeholder p {
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .guest-instructions {
        width: calc(100% - 40px);
        bottom: 10px;
        left: 20px;
    }
    
    body.guest-view .view-button {
        padding: 10px 15px;
    }
}
