  /* Basic Reset */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Retro Futuristic Theme */
body {
    font-family: 'VT323', monospace;
    background-color: #0a0a1a;
    color: #00ff99;
    padding: 20px;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 255, 153, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 0, 204, 0.03) 0%, transparent 20%),
        linear-gradient(to bottom, #0a0a1a 0%, #080820 100%);
}

/* CRT and Noise Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoYGAMY92U2hXHF/C1M8uP/ZtYdiuj26UdAdQQSXQErwSOMzt/XWRWAz5GuSBIkwG1H3FabJ2OsUOUhGC6tK4EMtJO0ttC6IBD3kM0ve0tJwMdSfjZo+EEISaeTr9P3wYrGjXqyC1krcKdhMpxEnt5JetoulscpyzhXN5FRpuPHvbeQaKxFAEB6EN+cYN6xD7RYGpXpNndMmZgM5Dcs3YSNFDHUo2LGfZuukSWyUYirJAdYbF3MfqEKmjM+I2EfhA94iG3L7uKrR+GdWD73ydlIB+6hgref1QTlmgmbM3/LeX5GI1Ux1RWpgxpLuZ2+I+IjzZ8wqE4nilvQdkUdfhzI5QDWy+kw5Wgg2pGpeEVeCCA7b85BO3F9DzxB3cdqvBzWcmzbyMiqhzuYqtHRVG2y4x+KOlnyqla8AoWWpuBoYRxzXrfKuILl6SfiWCbjxoZJUaCBj1CjH7GIaDbc9kqBY3W/Rgjda1iqQcOJu2WW+76pZC9QG7M00dffe9hNnseupFL53r8F7YHSwJWUKP2q+k7RdsxyOB11n0xtOvnW4irMMFNV4H0uqwS5ExsmP9AxbDTc9JwgneAT5vTiUSm1E7BSflSt3bfa1tv8Di3R8n3Af7MNWzs49hmauE2wP+ttrq+AsWpFG2awvsuOqbipWHgtuvuaAE+A1Z/7gC9hesnr+7wqCwG8c5yAg3AL1fm8T9AZtp/bbJGwl1pNrE7RuOX7PeMRUERVaPpEs+yqeoSmuOlokqw49pgomjLeh7icHNlG19yjs6XXOMedYm5xH2YxpV2tc0Ro2jJfxC50ApuxGob7lMsxfTbeUv07TyYxpeLucEH1gNd4IKH2LAg5TdVhlCafZvpskfncCfx8pOhJzd76bJWeYFnFciwcYfubRc12Ip/ppIhA1/mSZ/RxjFDrJC5xifFjJpY2Xl5zXdguFqYyTR+zOW1E6STYwb/DzmxdZhbuE9YVvN0aTEFpPpuQ+WQJ7CIiC2L7EIMhUAZ/rPbdaHrupdvAkL+3FO1CJVQOJiAIpGGIDCY36ggMTB3SLVQpbF6uLVxK5Rz2NU/ReeAzjPkN+pz8QpFQIDALDitrMtwAAAABJRU5ErkJggg==');
    opacity: 0.05;
    pointer-events: none;
    z-index: 9998;
}

.container {
    margin: 0 auto;
    background-color: rgba(5, 5, 16, 0.8);
    border-radius: 10px;
    padding: 30px;
    box-shadow:
        0 0 30px rgba(0, 255, 153, 0.3),
        0 0 60px rgba(0, 255, 153, 0.1);
    border: 2px solid #333;
    position: relative;
    overflow: hidden;
}

/* Decorative circuit lines */
.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(to right, transparent 49.5%, rgba(0, 255, 153, 0.1) 49.5%, rgba(0, 255, 153, 0.1) 50.5%, transparent 50.5%),
        linear-gradient(to bottom, transparent 49.5%, rgba(0, 255, 153, 0.1) 49.5%, rgba(0, 255, 153, 0.1) 50.5%, transparent 50.5%);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: -1;
}

/* Corner decorations */
.corner {
    position: absolute;
    width: 30px;
    height: 30px;
    z-index: 2;
}

.corner-tl {
    top: 10px;
    left: 10px;
    border-top: 3px solid #ff00cc;
    border-left: 3px solid #ff00cc;
}

.corner-tr {
    top: 10px;
    right: 10px;
    border-top: 3px solid #ff00cc;
    border-right: 3px solid #ff00cc;
}

.corner-bl {
    bottom: 10px;
    left: 10px;
    border-bottom: 3px solid #ff00cc;
    border-left: 3px solid #ff00cc;
}

.corner-br {
    bottom: 10px;
    right: 10px;
    border-bottom: 3px solid #ff00cc;
    border-right: 3px solid #ff00cc;
}

h1 {
    font-family: 'Press Start 2P', cursive;
    color: #ff00cc;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 
        0 0 5px #ff00cc,
        0 0 10px rgba(255, 0, 204, 0.5);
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

h1::after {
    content: 'WKT POLYGON VISUALIZER';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: rgba(255, 0, 204, 0.3);
    transform: translateX(5px) translateY(5px);
    z-index: -1;
}

.input-section {
    position: relative;
    padding: 20px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
    background-color: rgba(15, 15, 45, 0.4);
}

.label-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

label {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: #00ffff;
    display: block;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
    letter-spacing: 1px;
}

label i {
    margin-right: 10px;
    color: #ff00cc;
}

textarea {
    width: 100%;
    height: 100px;
    background-color: rgba(15, 15, 45, 0.7);
    color: #00ff99;
    border: 1px solid #00ffff;
    border-radius: 5px;
    padding: 15px;
    font-family: 'VT323', monospace;
    font-size: 1.3rem;
    resize: vertical;
    box-shadow: 
        0 0 10px rgba(0, 255, 255, 0.2),
        inset 0 0 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

textarea:focus {
    outline: none;
    border-color: #ff00cc;
    box-shadow: 
        0 0 15px rgba(255, 0, 204, 0.3),
        inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.button-group {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

/* Base Button Styles - Cyberpunk Theme */
button {
    font-family: 'Orbitron', sans-serif;
    background: rgba(10, 10, 26, 0.6);
    border: 2px solid;
    cursor: pointer;
    padding: 12px 20px;
    border-radius: 0;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    clip-path: polygon(
        0 0,
        calc(100% - 10px) 0,
        100% 10px,
        100% 100%,
        10px 100%,
        0 calc(100% - 10px)
    );
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s;
}

button:hover::before {
    left: 100%;
}

/* Primary Action Button - Visualize */
#visualizeBtn {
    border-color: #00ff99;
    color: #00ff99;
    box-shadow:
        0 0 10px rgba(0, 255, 153, 0.3),
        inset 0 0 10px rgba(0, 255, 153, 0.1);
    text-shadow: 0 0 5px rgba(0, 255, 153, 0.5);
}

#visualizeBtn:hover {
    background: rgba(0, 255, 153, 0.1);
    box-shadow:
        0 0 20px rgba(0, 255, 153, 0.6),
        inset 0 0 15px rgba(0, 255, 153, 0.2);
    text-shadow: 0 0 10px rgba(0, 255, 153, 0.8);
}

/* Destructive Action Button - Clear */
#clearBtn {
    border-color: #ff3366;
    color: #ff3366;
    box-shadow:
        0 0 10px rgba(255, 51, 102, 0.3),
        inset 0 0 10px rgba(255, 51, 102, 0.1);
    text-shadow: 0 0 5px rgba(255, 51, 102, 0.5);
}

#clearBtn:hover {
    background: rgba(255, 51, 102, 0.1);
    box-shadow:
        0 0 20px rgba(255, 51, 102, 0.6),
        inset 0 0 15px rgba(255, 51, 102, 0.2);
    text-shadow: 0 0 10px rgba(255, 51, 102, 0.8);
}

/* Utility Action Button - Sample */
#sampleBtn {
    border-color: #00ffff;
    color: #00ffff;
    box-shadow:
        0 0 10px rgba(0, 255, 255, 0.3),
        inset 0 0 10px rgba(0, 255, 255, 0.1);
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

#sampleBtn:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow:
        0 0 20px rgba(0, 255, 255, 0.6),
        inset 0 0 15px rgba(0, 255, 255, 0.2);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

/* Universal Button Interactions */
button:hover {
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

button i {
    font-size: 1rem;
    filter: drop-shadow(0 0 3px currentColor);
}

#errorMsg {
    color: #ff3366;
    margin-top: 15px;
    font-weight: bold;
    padding: 15px;
    background-color: rgba(255, 51, 102, 0.1);
    border-left: 3px solid #ff3366;
    border-radius: 3px;
    display: none;
    font-size: 1.1rem;
    text-shadow: 0 0 5px rgba(255, 51, 102, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

.info {
    color: #00cccc;
    margin-top: 10px;
    font-size: 1.1rem;
    text-shadow: 0 0 3px rgba(0, 204, 204, 0.3);
    padding: 5px;
    border-radius: 3px;
}

/* Status indicator */
.status {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    color: #00ffff;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 5px 10px;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: #00ff99;
    border-radius: 50%;
    box-shadow: 0 0 8px #00ff99;
}

/* Split View Layout */
.split-view {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.left-panel {
    flex: 0 0 600px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
}

.right-panel {
    flex: 1;
    min-width: 0;
}

#map {
    height: calc(100vh - 200px);
    min-height: 500px;
    border-radius: 8px;
    border: 2px solid #00ffff;
    box-shadow:
        0 0 20px rgba(0, 255, 255, 0.3),
        inset 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

/* Map overlay scanlines */
#map::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(0, 0, 0, 0) 50%, 
        rgba(0, 0, 0, 0.05) 50%
    );
    background-size: 100% 4px;
    z-index: 1000;
    pointer-events: none;
    opacity: 0.3;
}

/* Custom Styling for Leaflet */
.leaflet-container {
    background: #0a0a1a !important;
}

.leaflet-control-layers,
.leaflet-bar {
    border-color: #00ffff !important;
    background: rgba(15, 15, 45, 0.8) !important;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2) !important;
}

.leaflet-control-layers-toggle,
.leaflet-bar a {
    color: #00ffff !important;
}

.leaflet-control-layers-toggle:hover,
.leaflet-bar a:hover {
    background-color: rgba(0, 255, 255, 0.2) !important;
}

/* Scanline effect */
.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
    z-index: 9999;
    opacity: 0.5;
    animation: scanline 4s linear infinite;
}

@keyframes scanline {
    0% { transform: translateY(-100vh); }
    100% { transform: translateY(100vh); }
}

/* Operations Section */
.operations-section {
    position: relative;
    padding: 20px;
    border: 1px solid rgba(255, 0, 204, 0.3);
    border-radius: 8px;
    background-color: rgba(25, 15, 45, 0.4);
    box-shadow:
        0 0 15px rgba(255, 0, 204, 0.2),
        inset 0 0 15px rgba(0, 0, 0, 0.3);
}

.operations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.operation-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.operation-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: #00ffff;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.operation-label i {
    color: #ff00cc;
}

.operation-input {
    width: 100%;
    background-color: rgba(15, 15, 45, 0.7);
    color: #00ff99;
    border: 1px solid #00ffff;
    border-radius: 5px;
    padding: 10px;
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    box-shadow:
        0 0 10px rgba(0, 255, 255, 0.2),
        inset 0 0 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.operation-input:focus {
    outline: none;
    border-color: #ff00cc;
    box-shadow:
        0 0 15px rgba(255, 0, 204, 0.3),
        inset 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Operation Buttons - Unified Cyberpunk Style */
.operation-btn {
    width: 100%;
    font-size: 0.9rem;
    justify-content: center;
}

.buffer-btn {
    border-color: #9d4edd;
    color: #9d4edd;
    box-shadow:
        0 0 10px rgba(157, 78, 221, 0.3),
        inset 0 0 10px rgba(157, 78, 221, 0.1);
    text-shadow: 0 0 5px rgba(157, 78, 221, 0.5);
}

.buffer-btn:hover {
    background: rgba(157, 78, 221, 0.1);
    box-shadow:
        0 0 20px rgba(157, 78, 221, 0.6),
        inset 0 0 15px rgba(157, 78, 221, 0.2);
    text-shadow: 0 0 10px rgba(157, 78, 221, 0.8);
}

.simplify-btn {
    border-color: #f72585;
    color: #f72585;
    box-shadow:
        0 0 10px rgba(247, 37, 133, 0.3),
        inset 0 0 10px rgba(247, 37, 133, 0.1);
    text-shadow: 0 0 5px rgba(247, 37, 133, 0.5);
}

.simplify-btn:hover {
    background: rgba(247, 37, 133, 0.1);
    box-shadow:
        0 0 20px rgba(247, 37, 133, 0.6),
        inset 0 0 15px rgba(247, 37, 133, 0.2);
    text-shadow: 0 0 10px rgba(247, 37, 133, 0.8);
}

.convex-btn {
    border-color: #4cc9f0;
    color: #4cc9f0;
    box-shadow:
        0 0 10px rgba(76, 201, 240, 0.3),
        inset 0 0 10px rgba(76, 201, 240, 0.1);
    text-shadow: 0 0 5px rgba(76, 201, 240, 0.5);
}

.convex-btn:hover {
    background: rgba(76, 201, 240, 0.1);
    box-shadow:
        0 0 20px rgba(76, 201, 240, 0.6),
        inset 0 0 15px rgba(76, 201, 240, 0.2);
    text-shadow: 0 0 10px rgba(76, 201, 240, 0.8);
}

.centroid-btn {
    border-color: #ffd60a;
    color: #ffd60a;
    box-shadow:
        0 0 10px rgba(255, 214, 10, 0.3),
        inset 0 0 10px rgba(255, 214, 10, 0.1);
    text-shadow: 0 0 5px rgba(255, 214, 10, 0.5);
}

.centroid-btn:hover {
    background: rgba(255, 214, 10, 0.1);
    box-shadow:
        0 0 20px rgba(255, 214, 10, 0.6),
        inset 0 0 15px rgba(255, 214, 10, 0.2);
    text-shadow: 0 0 10px rgba(255, 214, 10, 0.8);
}

.union-btn {
    border-color: #06ffa5;
    color: #06ffa5;
    box-shadow:
        0 0 10px rgba(6, 255, 165, 0.3),
        inset 0 0 10px rgba(6, 255, 165, 0.1);
    text-shadow: 0 0 5px rgba(6, 255, 165, 0.5);
}

.union-btn:hover {
    background: rgba(6, 255, 165, 0.1);
    box-shadow:
        0 0 20px rgba(6, 255, 165, 0.6),
        inset 0 0 15px rgba(6, 255, 165, 0.2);
    text-shadow: 0 0 10px rgba(6, 255, 165, 0.8);
}

.clear-ops-btn {
    border-color: #ff6b6b;
    color: #ff6b6b;
    box-shadow:
        0 0 10px rgba(255, 107, 107, 0.3),
        inset 0 0 10px rgba(255, 107, 107, 0.1);
    text-shadow: 0 0 5px rgba(255, 107, 107, 0.5);
}

.clear-ops-btn:hover {
    background: rgba(255, 107, 107, 0.1);
    box-shadow:
        0 0 20px rgba(255, 107, 107, 0.6),
        inset 0 0 15px rgba(255, 107, 107, 0.2);
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.8);
}

.operation-info {
    margin-top: 15px;
    padding: 15px;
    background-color: rgba(0, 255, 153, 0.1);
    border-left: 3px solid #00ff99;
    border-radius: 3px;
    font-size: 1.1rem;
    color: #00ff99;
    text-shadow: 0 0 5px rgba(0, 255, 153, 0.3);
    display: none;
}

.operation-info.show {
    display: block;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Layers Section */
.layers-section {
    position: relative;
    padding: 20px;
    border: 1px solid rgba(0, 255, 153, 0.3);
    border-radius: 8px;
    background-color: rgba(15, 25, 45, 0.4);
    box-shadow:
        0 0 15px rgba(0, 255, 153, 0.2),
        inset 0 0 15px rgba(0, 0, 0, 0.3);
}

.layers-list {
    max-height: 400px;
    overflow-y: auto;
    margin-top: 15px;
    padding-right: 5px;
}

.layers-list::-webkit-scrollbar {
    width: 8px;
}

.layers-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.layers-list::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 153, 0.5);
    border-radius: 4px;
}

.layers-list::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 153, 0.7);
}

.layer-empty {
    color: #00cccc;
    text-align: center;
    padding: 30px 20px;
    font-size: 1.1rem;
    opacity: 0.7;
    font-style: italic;
}

.layer-item {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 5px;
    padding: 12px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.layer-item:hover {
    background-color: rgba(0, 255, 255, 0.05);
    border-color: rgba(0, 255, 255, 0.4);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.layer-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.layer-visibility {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #00ff99;
}

.layer-color {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.layer-info {
    flex: 1;
    min-width: 0;
}

.layer-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: #00ffff;
    text-shadow: 0 0 3px rgba(0, 255, 255, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.layer-name i {
    margin-right: 5px;
    color: #ff00cc;
}

.layer-meta {
    font-size: 0.85rem;
    color: #00ff99;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.layer-actions {
    display: flex;
    gap: 5px;
    justify-content: flex-end;
}

/* Layer Action Buttons - Cyberpunk Style */
.layer-action-btn {
    background: rgba(10, 10, 26, 0.6);
    border: 2px solid rgba(0, 255, 255, 0.5);
    color: #00ffff;
    padding: 6px 10px;
    border-radius: 0;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow:
        0 0 5px rgba(0, 255, 255, 0.2),
        inset 0 0 5px rgba(0, 255, 255, 0.1);
    text-shadow: 0 0 3px rgba(0, 255, 255, 0.5);
    clip-path: polygon(
        0 0,
        calc(100% - 5px) 0,
        100% 5px,
        100% 100%,
        5px 100%,
        0 calc(100% - 5px)
    );
}

.layer-action-btn:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: #00ffff;
    box-shadow:
        0 0 10px rgba(0, 255, 255, 0.4),
        inset 0 0 8px rgba(0, 255, 255, 0.2);
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.8);
    transform: translateY(-1px);
}

.layer-action-btn.delete-btn {
    background: rgba(10, 10, 26, 0.6);
    border-color: rgba(255, 51, 102, 0.5);
    color: #ff3366;
    box-shadow:
        0 0 5px rgba(255, 51, 102, 0.2),
        inset 0 0 5px rgba(255, 51, 102, 0.1);
    text-shadow: 0 0 3px rgba(255, 51, 102, 0.5);
}

.layer-action-btn.delete-btn:hover {
    background: rgba(255, 51, 102, 0.1);
    border-color: #ff3366;
    box-shadow:
        0 0 10px rgba(255, 51, 102, 0.4),
        inset 0 0 8px rgba(255, 51, 102, 0.2);
    text-shadow: 0 0 5px rgba(255, 51, 102, 0.8);
}

/* Responsive styles */
@media (max-width: 768px) {
    .split-view {
        flex-direction: column;
    }

    .left-panel {
        flex: 1;
        max-height: none;
    }

    .right-panel {
        flex: 1;
    }

    .button-group {
        flex-direction: column;
    }

    button {
        width: 100%;
    }

    #map {
        height: 400px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .operations-grid {
        grid-template-columns: 1fr;
    }
}