/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000;
}

body.modal-open {
    pointer-events: none;
}

body.modal-open #level-upload-dialog {
    pointer-events: auto;
}

:root {
    --primary-color: #4CAF50;
    --primary-dark: #388E3C;
    --primary-light: #66bb6a;
    --secondary-color: #3F51B5;
    --accent-color: #FF5722;
    --accent-dark: #E64A19;
    --danger-color: #FF3D00;
    --warning-color: #FFA000;
    --info-color: #00BCD4;
    --success-color: #4CAF50;
    --dark-overlay: rgba(0, 0, 0, 0.8);
    --light-overlay: rgba(255, 255, 255, 0.05);
    --text-light: #ffffff;
    --text-dark: #212121;
    --panel-bg: rgba(18, 18, 24, 0.85);
    --grid-color: rgba(255, 255, 255, 0.15);
    --primary-color-rgb: 76, 175, 80;
}

/* =========== TITLE SCREEN =========== */
#title-screen {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #000000;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}

/* Creating a starry background with CSS */
#title-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(white 1px, transparent 1px),
        radial-gradient(white 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    opacity: 0.3;
}

.title-container {
    position: relative;
    z-index: 5;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    padding: 30px;
    background: var(--panel-bg);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.logo-container {
    margin-bottom: 40px;
}

.title-logo {
    font-size: 50px;
    font-weight: 800;
    color: var(--text-light);
    text-shadow: 0 0 10px rgba(0, 255, 128, 0.7),
                 0 0 20px rgba(0, 255, 128, 0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.logo-subtitle {
    font-size: 18px;
    color: var(--accent-color);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.title-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 250px;
    margin-bottom: 30px;
}

.title-button {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 
                inset 0 1px 1px rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.title-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4), 
                inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.title-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.title-credits {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 10px;
}

/* =========== GAME CONTAINER =========== */
#game-container {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url('game_bg_01_001-uhd.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    background-blend-mode: multiply;
}

.hud-container {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
}

#score {
    font-size: 24px;
    color: var(--text-light);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 8px 15px;
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

#player {
    position: absolute;
    width: 70px;
    height: 70px;
    bottom: 150px;
    left: 150px;
    transition: none;
    z-index: 4;
    will-change: transform, left, bottom, opacity;
    transform: translateZ(0);
}

.obstacle {
    position: absolute;
    z-index: 3;
    will-change: transform, left, bottom, opacity;
    transform: translateZ(0);
}

.obstacle.portal-wave, .editor-object.portal-wave {
    width: 70px;
    height: 140px;
    background-image: url('WavePortal.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.wave-trail {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: rgba(0, 255, 128, 0.7);
    pointer-events: none;
    opacity: 1;
    box-shadow: 0 0 6px rgba(0, 255, 128, 0.9);
    z-index: 3;
    will-change: transform, left, bottom, opacity;
    transform: translateZ(0);
}

#player.wave-mode {
    filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.7));
}

/* =========== TOOLBAR =========== */
.toolbar {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
    width: 180px;
}

.toolbar-button {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--secondary-color), #2c387e);
    color: var(--text-light);
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toolbar-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #5C6BC0, var(--secondary-color));
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.toolbar-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* =========== EDITOR PANEL =========== */
#editor-panel {
    position: absolute;
    top: 200px;
    right: 20px;
    width: 280px;
    background: var(--panel-bg);
    color: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 90;
    overflow: hidden;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-height: calc(100vh - 220px);
    display: flex;
    flex-direction: column;
}

.editor-header {
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.editor-title {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
    color: var(--primary-light);
}

.editor-info {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.editor-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.2);
}

.editor-tab {
    flex: 1;
    padding: 12px 15px;
    cursor: pointer;
    text-align: center;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.6);
}

.editor-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
}

.editor-tab.active {
    color: var(--primary-light);
    border-bottom: 3px solid var(--primary-color);
    background: rgba(255, 255, 255, 0.03);
}

.editor-tab-content {
    display: none;
    max-height: 300px;
    overflow-y: auto;
    padding: 15px;
}

.editor-tab-content.active {
    display: block;
}

.editor-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.editor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.editor-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.editor-item.selected {
    background: rgba(var(--primary-color-rgb), 0.15);
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 10px rgba(var(--primary-color-rgb), 0.4);
}

.editor-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.editor-item span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.editor-music {
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

#song-selector {
    flex: 1;
    padding: 8px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: white;
    outline: none;
}

.editor-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.action-button {
    padding: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.action-button.primary {
    background: linear-gradient(to bottom, var(--secondary-color), #2c387e);
}

.action-button.danger {
    background: linear-gradient(to bottom, var(--danger-color), #BF360C);
}

.action-button.success {
    background: linear-gradient(to bottom, var(--success-color), var(--primary-dark));
}

.action-button.info {
    background: linear-gradient(to bottom, var(--info-color), #0097A7);
}

.action-button.warning {
    background: linear-gradient(to bottom, var(--warning-color), #FF8F00);
}

.action-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.action-button:active {
    transform: translateY(1px);
    filter: brightness(0.95);
    box-shadow: none;
}

/* =========== SETTINGS PANELS =========== */
#settings-panel, #bg-properties-panel, #debug-panel {
    position: absolute;
    top: 80px;
    left: 20px;
    width: 280px;
    background: var(--panel-bg);
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 100;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#settings-panel h3, #bg-properties-panel h3, #debug-panel h3 {
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 15px;
    color: var(--info-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.settings-group {
    margin-bottom: 20px;
}

.settings-group label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.settings-group input[type="color"] {
    width: 100%;
    height: 40px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.2);
    padding: 2px;
}

.settings-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

#debug-panel textarea {
    width: 100%;
    height: 200px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    color: white;
    font-family: monospace;
    font-size: 12px;
    padding: 10px;
    resize: vertical;
    margin-bottom: 15px;
}

/* =========== LEVEL UPLOAD DIALOG =========== */
#level-upload-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
    isolation: isolate;
}

.upload-modal {
    background: var(--panel-bg);
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    color: white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1001;
}

/* =========== GAME ELEMENTS =========== */
.ground {
    position: absolute;
    height: 150px;
    width: 100%;
    bottom: 0;
    z-index: 1;
    background-image: url('groundSquare_01_001-uhd.png');
    background-size: 300px 150px;
    background-repeat: repeat-x;
    background-position: 0px 0px;
    background-blend-mode: multiply;
}

#editor-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 160px;
    pointer-events: none;
    z-index: 2;

    background-image:
      linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
      linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
    background-size: 70px 70px;
    background-position: 0 0;
    background-repeat: repeat;
}

#particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 2;
}

.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: rgba(79, 195, 247, 0.7);
    pointer-events: none;
    opacity: 1;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(79, 195, 247, 0.5);
    will-change: transform, left, bottom, opacity;
    transform: translateZ(0);
}

/* =========== EDITOR OBJECTS =========== */
.editor-object {
    position: absolute;
    z-index: 5;
    cursor: move;
    transition: transform 0.2s ease;
    will-change: transform, left, bottom, opacity;
    transform: translateZ(0);
}

.editor-object.object-selected {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
    z-index: 8;
    filter: drop-shadow(0 0 8px rgba(255, 102, 0, 0.7));
}

.editor-object.block-hover {
    outline: 3px solid var(--success-color);
    outline-offset: 1px;
    z-index: 8;
}

/* =========== SPECIFIC OBSTACLE STYLES =========== */
.obstacle.spike, .editor-object.spike {
    width: 90px;
    height: 70px;
    background-image: url('spike.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.obstacle.cube, .editor-object.cube {
    width: 70px;
    height: 70px;
    background-image: url('square_01_001.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.obstacle.orb, .editor-object.orb {
    width: 70px;
    height: 70px;
    background-image: url('ring_01_001.png');
    background-size: contain;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 15px rgba(255, 255, 0, 0.5));
}

.obstacle.pad, .editor-object.pad {
    width: 70px;
    height: 70px;
    background-image: url('bump_01_001.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.obstacle.deco-square1, .editor-object.deco-square1 {
    width: 70px;
    height: 70px;
    background-image: url('square_05_001.webp');
    background-size: contain;
    background-repeat: no-repeat;
}

.obstacle.deco-square2, .editor-object.deco-square2 {
    width: 70px;
    height: 70px;
    background-image: url('square_04_001.webp');
    background-size: contain;
    background-repeat: no-repeat;
}

.obstacle.deco-square3, .editor-object.deco-square3 {
    width: 70px;
    height: 70px;
    background-image: url('square_03_001.webp');
    background-size: contain;
    background-repeat: no-repeat;
}

.obstacle.deco-square4, .editor-object.deco-square4 {
    width: 70px;
    height: 70px;
    background-image: url('square_07_001.webp');
    background-size: contain;
    background-repeat: no-repeat;
}

.obstacle.deco-square5, .editor-object.deco-square5 {
    width: 70px;
    height: 70px;
    background-image: url('square_02_001.webp');
    background-size: contain;
    background-repeat: no-repeat;
}

.obstacle.deco-slab, .editor-object.deco-slab {
    width: 140px;
    height: 35px;
    background-image: url('blockOutline_11_001.webp');
    background-size: contain;
    background-repeat: no-repeat;
}

.editor-object.player-start, .obstacle.player-start {
    width: 70px;
    height: 70px;
    background-image: url('player_start.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.7;
}

.editor-object.end, .obstacle.end {
    width: 70px;
    height: 70px;
    background-image: url('flag.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.editor-object.portal-invert, .obstacle.portal-invert,
.editor-object.portal-normal, .obstacle.portal-normal,
.editor-object.portal-ship, .obstacle.portal-ship,
.editor-object.portal-cube, .obstacle.portal-cube {
    width: 70px;
    height: 140px;
    background-size: contain;
    background-repeat: no-repeat;
}

.editor-object.portal-invert, .obstacle.portal-invert {
    background-image: url('portal_02_front_0011.png');
}

.editor-object.portal-normal, .obstacle.portal-normal {
    background-image: url('portal_01_front_0012.png');
}

.editor-object.portal-ship, .obstacle.portal-ship {
    background-image: url('portal_04_front_0011 (1).png');
}

.editor-object.portal-cube, .obstacle.portal-cube {
    background-image: url('portal_03_front_0011.png');
}

.editor-object.portal-ball, .obstacle.portal-ball {
    width: 70px;
    height: 140px;
    background-image: url('BallPortal.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.editor-object.bg-trigger, .obstacle.bg-trigger {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px dashed rgba(255, 255, 255, 0.7);
    border-radius: 6px;
}

.editor-object.bg-trigger.selected-bg {
    border-color: var(--success-color);
    border-width: 3px;
}

.obstacle.bg-trigger {
    opacity: 0;
}

.editor-object.spikesmall, .obstacle.spikesmall {
    width: 70px;
    height: 35px;
    background-image: url('spikesmall (1).png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
}

/* =========== GAME OVER SCREEN =========== */
#game-over {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--panel-bg);
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    width: 300px;
}

#game-over h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--danger-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#final-score {
    font-size: 22px;
    margin-bottom: 25px;
}

/* =========== FPS COUNTER =========== */
#fps-counter {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

/* =========== TUTORIAL PANEL =========== */
#tutorial-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.tutorial-modal {
    background: var(--panel-bg);
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 550px;
    color: white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tutorial-modal h2 {
    margin-bottom: 20px;
    text-align: center;
    color: var(--info-color);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#tutorial-content {
    margin-bottom: 25px;
    line-height: 1.5;
}

#tutorial-content p {
    margin-bottom: 15px;
}

#tutorial-content strong {
    color: var(--primary-light);
}

#tutorial-content em {
    color: var(--info-color);
    font-style: normal;
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
}

.tutorial-nav {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.tutorial-nav button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    background: var(--secondary-color);
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tutorial-nav button:hover:not(:disabled) {
    background: #5C6BC0;
    transform: translateY(-2px);
}

.tutorial-nav button:disabled {
    background: #555;
    cursor: not-allowed;
    opacity: 0.5;
}

.tutorial-nav button:last-child {
    background: var(--accent-color);
}

.tutorial-nav button:last-child:hover {
    background: var(--accent-dark);
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .editor-items {
        grid-template-columns: 1fr;
    }
    
    #editor-panel, #settings-panel {
        width: 220px;
    }
    
    .title-logo {
        font-size: 40px;
    }
}

/* Add styles for the edit mode button and the object edit panel */
.edit-mode-button {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: var(--text-light);
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 10px 0;
}

.edit-mode-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #FF7043, var(--accent-color));
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.edit-mode-button.active {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
}

#object-edit-panel {
    position: absolute;
    background: var(--panel-bg);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    z-index: 101;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.edit-action-button {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    border-radius: 4px;
    padding: 8px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
}

.edit-action-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.rotate-left-btn, .rotate-right-btn {
    background: rgba(0, 150, 200, 0.2);
}

.rotate-left-btn:hover, .rotate-right-btn:hover {
    background: rgba(0, 150, 200, 0.4);
}

.delete-btn {
    background: rgba(255, 50, 50, 0.2);
}

.delete-btn:hover {
    background: rgba(255, 50, 50, 0.4);
}