/**
 * Comprehensive Action Feedback Styles
 * Clear, prominent feedback for all player actions
 */

.comprehensive-feedback-container {
    position: fixed;
    top: var(--spacing-lg, 1rem);
    right: var(--spacing-lg, 1rem);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm, 0.5rem);
    pointer-events: none;
    max-width: 400px;

.comprehensive-feedback {
    background: var(--color-bg-card, #1a1a1a);
    border: 2px solid;
    border-radius: var(--radius-md, 8px);
    padding: var(--spacing-md, 1rem);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm, 0.5rem);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    pointer-events: auto;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    min-width: 280px;
    max-width: 400px;

.comprehensive-feedback.show {
    opacity: 1;
    transform: translateX(0);

.comprehensive-feedback.hide {
    opacity: 0;
    transform: translateX(100%);

/* Position variants */
.comprehensive-feedback[data-position="center"] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    right: auto;
    min-width: 320px;
    max-width: 500px;

.comprehensive-feedback[data-position="center"].show {
    transform: translate(-50%, -50%) scale(1);

.comprehensive-feedback[data-position="center"].hide {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;

/* Type variants */
.comprehensive-feedback-success {
    border-color: var(--color-success, #5cb85c);
    background: linear-gradient(135deg, rgba(92, 184, 92, 0.15), rgba(92, 184, 92, 0.05));

.comprehensive-feedback-error {
    border-color: var(--color-failure, #d9534f);
    background: linear-gradient(135deg, rgba(217, 83, 79, 0.15), rgba(217, 83, 79, 0.05));

.comprehensive-feedback-warning {
    border-color: var(--color-warning, #f0ad4e);
    background: linear-gradient(135deg, rgba(240, 173, 78, 0.15), rgba(240, 173, 78, 0.05));

.comprehensive-feedback-info {
    border-color: var(--color-info, var(--color-primary));
    background: linear-gradient(135deg, rgba(91, 192, 222, 0.15), rgba(91, 192, 222, 0.05));

/* Prominent feedback */
.comprehensive-feedback-prominent {
    border-width: 3px;
    padding: var(--spacing-lg, 1.5rem);
    font-size: 1.1em;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
    animation: feedbackPulse 2s ease-in-out infinite;

@keyframes feedbackPulse {
    0%, 100% {
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);

    50% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);

.comprehensive-feedback-icon {
    font-size: 1.8em;
    flex-shrink: 0;
    line-height: 1;

.comprehensive-feedback-message {
    flex: 1;
    color: var(--color-text-primary, #ffffff);
    font-weight: 600;
    line-height: 1.4;

.comprehensive-feedback-close {
    background: transparent;
    border: none;
    color: var(--color-text-secondary, #999);
    font-size: 1.5em;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;

.comprehensive-feedback-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-primary, #ffffff);

/* Button loading states */
.action-loading {
    position: relative;
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;

.action-loading-spinner {
    display: inline-block;
    margin-left: var(--spacing-xs, 0.25rem);
    animation: spin 1s linear infinite;

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }

/* Button highlights */
.action-highlight-success {
    animation: highlightSuccess 2s ease-in-out;
    box-shadow: 0 0 20px rgba(92, 184, 92, 0.6);

.action-highlight-error {
    animation: highlightError 2s ease-in-out;
    box-shadow: 0 0 20px rgba(217, 83, 79, 0.6);

@keyframes highlightSuccess {
    0%, 100% {
        box-shadow: 0 0 20px rgba(92, 184, 92, 0.6);
        transform: scale(1);

    50% {
        box-shadow: 0 0 30px rgba(92, 184, 92, 0.8);
        transform: scale(1.05);

@keyframes highlightError {
    0%, 100% {
        box-shadow: 0 0 20px rgba(217, 83, 79, 0.6);
        transform: scale(1);

    50% {
        box-shadow: 0 0 30px rgba(217, 83, 79, 0.8);
        transform: scale(1.05);

/* Mobile adjustments */
@media (max-width: 768px) {
    .comprehensive-feedback-container {
        top: var(--spacing-md, 0.5rem);
        right: var(--spacing-md, 0.5rem);
        left: var(--spacing-md, 0.5rem);
        max-width: none;

    .comprehensive-feedback {
        min-width: auto;
        max-width: none;

    .comprehensive-feedback[data-position="center"] {
        left: var(--spacing-md, 0.5rem);
        right: var(--spacing-md, 0.5rem);
        transform: translateY(-50%) scale(0.9);
        min-width: auto;
        max-width: none;

    .comprehensive-feedback[data-position="center"].show {
        transform: translateY(-50%) scale(1);

/* PHASE 4: AI GM Response Styling */
.comprehensive-feedback-ai-gm {
    border-color: var(--color-ai-gm, #9b59b6);
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.2), rgba(155, 89, 182, 0.1));
    border-left-width: 5px;
    animation: aiGMPulse 3s ease-in-out infinite;

.comprehensive-feedback-ai-gm .comprehensive-feedback-icon {
    animation: aiGMGlow 2s ease-in-out infinite;

@keyframes aiGMPulse {
    0%, 100% {
        box-shadow: 0 6px 24px rgba(155, 89, 182, 0.4);

    50% {
        box-shadow: 0 8px 32px rgba(155, 89, 182, 0.6);

@keyframes aiGMGlow {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(155, 89, 182, 0.5));

    50% {
        filter: drop-shadow(0 0 10px rgba(155, 89, 182, 0.8));

/* Game log entry highlight for AI GM responses */
.ai-gm-response-highlight {
    animation: aiGMHighlight 3s ease-in-out;
    background: linear-gradient(90deg, 
        rgba(155, 89, 182, 0.1) 0%, 
        rgba(155, 89, 182, 0.2) 50%, 
        rgba(155, 89, 182, 0.1) 100%);
    border-left: 4px solid var(--color-ai-gm, #9b59b6);
    padding-left: var(--spacing-sm, 0.5rem);
    margin-left: calc(-1 * var(--spacing-sm, 0.5rem));

@keyframes aiGMHighlight {
    0% {
        background: linear-gradient(90deg, 
            rgba(155, 89, 182, 0.3) 0%, 
            rgba(155, 89, 182, 0.4) 50%, 
            rgba(155, 89, 182, 0.3) 100%);

    100% {
        background: linear-gradient(90deg, 
            rgba(155, 89, 182, 0.1) 0%, 
            rgba(155, 89, 182, 0.2) 50%, 
            rgba(155, 89, 182, 0.1) 100%);

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .comprehensive-feedback,
    .comprehensive-feedback-prominent,
    .action-loading-spinner,
    .action-highlight-success,
    .action-highlight-error,
    .comprehensive-feedback-ai-gm,
    .comprehensive-feedback-ai-gm .comprehensive-feedback-icon,
    .ai-gm-response-highlight {
        animation: none;
        transition: none;

}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}