#solar-panel-calculator {
position: relative;
border-radius: 15px;
overflow: hidden;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
padding: 2px;
}
.solar-panel-container {
display: flex;
height: 100%;
background: #ffffff;
border-radius: 13px;
overflow: hidden;
} .solar-panel-sidebar {
width: 350px;
background: linear-gradient(180deg, #f8f9ff 0%, #e8f2ff 100%);
border-right: 1px solid #e1e8ed;
padding: 20px;
overflow-y: auto;
position: relative;
}
.solar-panel-sidebar::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
} .search-panel {
background: #ffffff;
border-radius: 12px;
padding: 20px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
margin-bottom: 20px;
border: 1px solid #e1e8ed;
}
.search-panel h4 {
color: #2c3e50;
margin-bottom: 20px;
font-weight: 600;
display: flex;
align-items: center;
font-size: 16px;
}
.search-panel h4 i {
margin-right: 10px;
color: #667eea;
} .form-control {
border: 2px solid #e1e8ed;
border-radius: 8px;
padding: 12px 15px;
font-size: 14px;
transition: all 0.3s ease;
background: #ffffff;
}
.form-control:focus {
border-color: #667eea;
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
outline: none;
}
.form-control::placeholder {
color: #95a5a6;
} .btn {
border-radius: 8px;
padding: 12px 20px;
font-weight: 600;
font-size: 14px;
transition: all 0.3s ease;
border: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
}
.btn i {
margin-right: 8px;
}
.btn-primary {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}
.btn-secondary {
background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
color: white;
}
.btn-secondary:hover {
transform: translateY(-1px);
background: linear-gradient(135deg, #7f8c8d 0%, #95a5a6 100%);
}
.btn-success {
background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
color: white;
box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}
.btn-success:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
}
.btn-warning {
background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
color: white;
}
.btn-warning:hover {
transform: translateY(-1px);
}
.btn-info {
background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
color: white;
}
.btn-info:hover {
transform: translateY(-1px);
}
.btn-block {
width: 100%;
margin-bottom: 10px;
} .measurement-info {
background: #ffffff;
border-radius: 12px;
padding: 20px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
margin-bottom: 20px;
border: 1px solid #e1e8ed;
}
.measurement-info h4 {
color: #2c3e50;
margin-bottom: 20px;
font-weight: 600;
display: flex;
align-items: center;
font-size: 16px;
}
.measurement-info h4 i {
margin-right: 10px;
color: #e67e22;
}
.info-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 0;
border-bottom: 1px solid #ecf0f1;
font-size: 14px;
}
.info-item:last-child {
border-bottom: none;
}
.info-item strong {
color: #2c3e50;
font-weight: 600;
}
.info-item span {
color: #27ae60;
font-weight: 700;
font-size: 16px;
} .action-buttons {
background: #ffffff;
border-radius: 12px;
padding: 20px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
border: 1px solid #e1e8ed;
} .solar-panel-map {
flex: 1;
position: relative;
background: #f8f9fa;
}
#solar-map {
border-radius: 0 13px 13px 0;
} .map-controls {
position: absolute;
top: 15px;
right: 15px;
z-index: 10;
display: flex;
gap: 8px;
}
.map-controls .btn {
padding: 8px 12px;
font-size: 12px;
min-width: auto;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
} #direct-search {
position: absolute;
top: 15px;
left: 15px;
width: 300px;
z-index: 10;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
} .modal-content {
border-radius: 15px;
border: none;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
.modal-header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border-radius: 15px 15px 0 0;
border-bottom: none;
}
.modal-title {
font-weight: 600;
}
.btn-close-white {
filter: invert(1);
} #toast-container {
z-index: 1060;
}
.toast {
border-radius: 12px;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
border: none;
} @media (max-width: 768px) {
.solar-panel-container {
flex-direction: column;
}
.solar-panel-sidebar {
width: 100%;
max-height: 300px;
border-right: none;
border-bottom: 1px solid #e1e8ed;
}
.solar-panel-map {
min-height: 400px;
}
#solar-map {
border-radius: 0 0 13px 13px;
}
#direct-search {
position: relative;
top: auto;
left: auto;
width: 100%;
margin-bottom: 10px;
}
.map-controls {
top: 10px;
right: 10px;
flex-wrap: wrap;
}
}
@media (max-width: 480px) {
.solar-panel-sidebar {
padding: 15px;
}
.search-panel,
.measurement-info,
.action-buttons {
padding: 15px;
}
.btn {
padding: 10px 15px;
font-size: 13px;
}
.map-controls .btn {
padding: 6px 10px;
font-size: 11px;
}
} @keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.search-panel,
.measurement-info,
.action-buttons {
animation: fadeIn 0.6s ease-out;
} .loading {
position: relative;
overflow: hidden;
}
.loading::after {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
animation: loading 1.5s infinite;
}
@keyframes loading {
0% {
left: -100%;
}
100% {
left: 100%;
}
} .solar-panel-sidebar::-webkit-scrollbar {
width: 6px;
}
.solar-panel-sidebar::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 3px;
}
.solar-panel-sidebar::-webkit-scrollbar-thumb {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 3px;
}
.solar-panel-sidebar::-webkit-scrollbar-thumb:hover {
background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
} .gm-style-iw-c {
border-radius: 12px;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.gm-style .gm-style-iw-t::after {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
} .solar-marker {
transition: transform 0.2s ease;
}
.solar-marker:hover {
transform: scale(1.2);
} .info-message {
background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
color: white;
padding: 12px 20px;
border-radius: 8px;
margin: 10px 0;
font-size: 14px;
display: flex;
align-items: center;
box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}
.info-message i {
margin-right: 10px;
font-size: 16px;
} .error-message {
background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
color: white;
padding: 12px 20px;
border-radius: 8px;
margin: 10px 0;
font-size: 14px;
display: flex;
align-items: center;
box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}
.error-message i {
margin-right: 10px;
font-size: 16px;
} .success-message {
background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
color: white;
padding: 12px 20px;
border-radius: 8px;
margin: 10px 0;
font-size: 14px;
display: flex;
align-items: center;
box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}
.success-message i {
margin-right: 10px;
font-size: 16px;
} select.form-control {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
background-position: right 12px center;
background-repeat: no-repeat;
background-size: 16px 12px;
padding-right: 40px;
appearance: none;
} .gm-style .gm-style-cc {
display: none;
}
.gm-style .gm-style-mtc {
display: none;
} .custom-map-control {
background: white;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
margin: 10px;
padding: 8px 12px;
font-size: 12px;
font-weight: 600;
color: #2c3e50;
cursor: pointer;
transition: all 0.2s ease;
}
.custom-map-control:hover {
background: #f8f9fa;
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
} .brand-logo {
position: absolute;
bottom: 15px;
right: 15px;
z-index: 10;
background: rgba(255, 255, 255, 0.95);
padding: 8px 15px;
border-radius: 20px;
font-size: 12px;
color: #667eea;
font-weight: 600;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10px);
}
.brand-logo:hover {
background: rgba(255, 255, 255, 1);
transform: scale(1.05);
transition: all 0.2s ease;
} .calculation-details {
background: #f8f9ff;
border: 1px solid #e1e8ed;
border-radius: 8px;
padding: 15px;
margin-top: 15px;
font-size: 12px;
}
.calculation-details h6 {
color: #667eea;
font-weight: 600;
margin-bottom: 10px;
font-size: 13px;
}
.calculation-item {
display: flex;
justify-content: space-between;
margin-bottom: 5px;
color: #7f8c8d;
}
.calculation-item:last-child {
margin-bottom: 0;
padding-top: 8px;
border-top: 1px solid #e1e8ed;
font-weight: 600;
color: #2c3e50;
} .custom-tooltip {
position: absolute;
background: rgba(0, 0, 0, 0.8);
color: white;
padding: 8px 12px;
border-radius: 6px;
font-size: 12px;
pointer-events: none;
z-index: 1000;
opacity: 0;
transition: opacity 0.3s ease;
}
.custom-tooltip.show {
opacity: 1;
} .measurement-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 15px;
margin-top: 15px;
}
.measurement-card {
background: white;
border: 1px solid #e1e8ed;
border-radius: 8px;
padding: 15px;
text-align: center;
transition: transform 0.2s ease;
}
.measurement-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.measurement-card .icon {
font-size: 24px;
color: #667eea;
margin-bottom: 8px;
}
.measurement-card .value {
font-size: 18px;
font-weight: 700;
color: #2c3e50;
margin-bottom: 5px;
}
.measurement-card .label {
font-size: 12px;
color: #7f8c8d;
text-transform: uppercase;
letter-spacing: 0.5px;
} .progress-container {
margin: 15px 0;
}
.progress {
height: 8px;
border-radius: 4px;
background: #ecf0f1;
overflow: hidden;
}
.progress-bar {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
height: 100%;
border-radius: 4px;
transition: width 0.6s ease;
} @keyframes pulse {
0%, 100% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
}
.pulse {
animation: pulse 2s infinite;
}
@keyframes shake {
0%, 100% {
transform: translateX(0);
}
10%, 30%, 50%, 70%, 90% {
transform: translateX(-2px);
}
20%, 40%, 60%, 80% {
transform: translateX(2px);
}
}
.shake {
animation: shake 0.6s ease-in-out;
} .custom-checkbox {
position: relative;
display: flex;
align-items: center;
margin-bottom: 10px;
cursor: pointer;
}
.custom-checkbox input {
opacity: 0;
position: absolute;
}
.custom-checkbox .checkmark {
width: 20px;
height: 20px;
border: 2px solid #e1e8ed;
border-radius: 4px;
margin-right: 10px;
position: relative;
transition: all 0.3s ease;
}
.custom-checkbox input:checked + .checkmark {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-color: #667eea;
}
.custom-checkbox input:checked + .checkmark::after {
content: '✓';
position: absolute;
color: white;
font-size: 12px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
} @media (prefers-color-scheme: dark) {
.solar-panel-sidebar {
background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
color: #ecf0f1;
}
.search-panel,
.measurement-info,
.action-buttons {
background: #34495e;
border-color: #4a5f7a;
color: #ecf0f1;
}
.form-control {
background: #2c3e50;
border-color: #4a5f7a;
color: #ecf0f1;
}
.form-control::placeholder {
color: #95a5a6;
}
.info-item {
border-color: #4a5f7a;
}
} @media print {
.solar-panel-sidebar {
width: 100%;
background: white;
}
.solar-panel-map {
display: none;
}
.btn {
display: none;
}
}