﻿

#locationSuggestions {
    position: absolute;
    z-index: 1000;
    max-width: 400px;
    width:100%;
    margin-right:20px;
}

.list-group-item {
    cursor: pointer;
    /* color: #FFC107; */
    font-weight: 700;
}

    .list-group-item:hover {
        background-color: #FFC107 !important;
        cursor: pointer; /* optional, makes it feel more interactive */
    }

#map {
    height: 70%;
    max-height: 70%;
    margin-top: 20px;
    border-radius: 8px;
}


/* from here performance caluclation */
.btn-group {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.btn-pv-type {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 12px;
    border: 2px solid #ccc;
    cursor: pointer;
    background: #f9f9f9;
    transition: 0.2s;
}

    .btn-pv-type.active {
        border-color: #FFC107;
        background: rgba(255, 193, 7, 0.4);
    }

    .btn-pv-type svg {
        width: 24px;
        height: 24px;
        margin-bottom: 5px;
        stroke: #444;
    }

output {
    font-weight: 600;
}



.warn {
    font-size: 0.9rem;
    color: #b45309;
    display: none;
}

input[type="checkbox"] {
    width: 12px; /* optional */
    height: 12px; /* optional */
    transform: scale(2); /* scale up size */
    accent-color: #FFC107 !important;
}

#loadingAnimation {
    position: fixed; /* bleibt auch beim Scrollen zentriert */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* zentriert exakt */
    z-index: 9999; /* ganz nach vorne */
}



/* The following is for the roof pitch animation */
.pitch-container {
    position: relative;
    width: 100%;
    max-width: 800px;

    height: 60%;
    margin: 2rem auto;
    background: #6FD4FD;
    background: linear-gradient(180deg, rgba(111, 212, 253, 1) 0%, rgba(237, 247, 250, 1) 85%);
    /* border: 1px solid #ccc; */
    border-radius: 20px;
    overflow: hidden;
}

.solar-panel {
    width: 35%;
    max-width:180px;
    height: 10px;
    background: linear-gradient(to bottom right, #00456C, #002A42);
    transform-origin: bottom right;
    position: absolute;
    bottom: 0;
    right: 60%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.support-line {
    position: absolute;
    width: 1px;
    background: black;
    bottom: 0;
}

.sun {
    position: absolute;
    top: 10px;
    right: 30%;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle at center, #ffdd00, #ffaa00);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 200, 0, 0.8);
}
