/* app/static/style.css */

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f8;
    color: #333;
}

header {
    background-color: #ffffff;
    padding: 12px 20px;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

header h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

#actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

#actions button,
#actions select {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    background-color: #D9DEE8;
    color: #7E8087;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#actions button:hover,
#form-token button:hover {
    background-color: #DEEBF8;
}

#graph {
    display: flex;
    height: calc(100vh - 60px);
}

#side-panel {
    width: 35%;
    max-width: 800px;
    height: calc(100vh - 90px);
    padding: 20px;
    border-right: 1px solid #ddd;
    background-color: #ffffff;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.02);
    overflow-y: auto;
}

#form-token {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

#form-token label {
    margin-bottom: 5px;
    font-weight: 600;
}

#form-token select,
#form-token button {
    margin-bottom: 10px;
    padding: 6px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

#editor-log {
    height: calc(100vh - 400px);
    border: 1px solid #ccc;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    font-family: monospace;
    padding: 6px;
    overflow-y: auto;
    border-radius: 4px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
}


#details-panel {
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 4px;
}

#graph-area {
    flex: 1;
    position: relative;
    overflow: hidden;
}

#graph-area svg:last-of-type {
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
}

/* === MiniMapa === */
#mini-map {
    position: fixed;
    bottom: 12px;
    right: 12px;
    width: 262px;
    height: 170px;
    background-color: #fefefe;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 999;
}

#mini-map text {
    font-family: 'Segoe UI', sans-serif;
    font-size: 11px;
    fill: #333;
}

#mini-map text#zoom-label {
    font-size: 11px;
    fill: #666;
    text-anchor: end;
}

#mini-map .viewport {
    fill: none;
    stroke: #f00;
    stroke-width: 1;
    stroke-dasharray: 3, 2;
}
