#stellarium-container {
        width: 100%;
        height: calc(100vh - 72px);
        position: relative;
        background-color: #000;
        overflow: hidden;
    }

    #stellarium-canvas {
        width: 100%;
        height: 100%;
        display: block;
    }

    /* Button Controls (Right, Vertical, Middle) */
    #stellarium-ui-controls {
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        gap: 15px;
        z-index: 20;
    }

    .toggle-btn {
        background: rgba(20, 20, 20, 0.8);
        border: 1px solid #444;
        color: #fff;
        padding: 10px 24px;
        border-radius: 50px;
        font-family: 'Roboto', sans-serif;
        font-size: 0.95rem;
        cursor: pointer;
        transition: all 0.3s ease;
        backdrop-filter: blur(5px);
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .toggle-btn:hover {
        background: rgba(40, 40, 40, 0.9);
        border-color: #666;
    }

    .toggle-btn.active {
        background-color: rgba(96, 165, 250, 0.2) !important;
        border-color: #60a5fa !important;
        color: #60a5fa;
    }

    /* Search Bar (Top, Center) */
    #stellarium-search {
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 400px;
        max-width: 90vw;
        z-index: 20;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .search-container {
        display: flex;
        width: 100%;
        background: rgba(20, 20, 20, 0.85);
        border: 1px solid #444;
        border-radius: 50px;
        backdrop-filter: blur(5px);
        overflow: visible;
        position: relative;
    }

    .search-icon {
        padding: 12px 16px;
        color: #888;
        display: flex;
        align-items: center;
    }

    #stellar-search-input {
        flex: 1;
        background: transparent;
        border: none;
        color: #fff;
        padding: 12px 16px 12px 0;
        font-family: 'Roboto', sans-serif;
        font-size: 0.95rem;
        outline: none;
        box-shadow: none;
    }

    #stellar-search-input:focus {
        outline: none;
        border-color: #64B5F6;
        box-shadow: 0 0 10px rgba(100, 181, 246, 0.4);
    }

    #search-results-container {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 15, 30, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0 0 6px 6px;
        margin-top: 5px;
        max-height: 300px;
        overflow-y: auto;
        display: none;
        z-index: 9999;
        backdrop-filter: blur(5px);
        color: #fff;
    }

    .search-result-item {
        padding: 10px 15px;
        color: #fff;
        cursor: pointer;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 0.9em;
        transition: background 0.2s;
    }

    .search-result-item:hover {
        background: rgba(100, 181, 246, 0.2);
    }

    #search-feedback {
        color: #ff5252;
        font-size: 0.85em;
        margin-top: 8px;
        text-align: center;
        display: none;
        font-weight: 500;
        text-shadow: 0 0 4px #000;
    }

    /* Info Panel / Ficha (Top, Left) */
    #stellarium-info-panel {
        position: absolute;
        top: 20px;
        left: 20px;
        width: 320px;
        z-index: 30;
        backdrop-filter: blur(8px);
        background: rgba(15, 15, 15, 0.85);
        border: 1px solid #333;
        border-radius: 8px;
        color: #e0e0e0;
        font-family: 'Roboto', sans-serif;
        display: none;
        flex-direction: column;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .info-header {
        padding: 15px 20px;
        border-bottom: 1px solid #333;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: rgba(0, 0, 0, 0.4);
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }

    .info-title {
        margin: 0;
        color: #60a5fa;
        font-weight: 600;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .btn-close-custom {
        background: none;
        border: none;
        color: #888;
        cursor: pointer;
        padding: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: color 0.2s;
    }

    .btn-close-custom:hover {
        color: #fff;
    }

    .info-body {
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .info-row {
        display: flex;
        justify-content: space-between;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 8px;
    }

    .info-row:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .info-label {
        color: #888;
        font-weight: 400;
    }

    .info-value {
        color: #fff;
        font-weight: 400;
        text-align: right;
    }