.nexsouk-weather-dashboard {
max-width: 1200px;
margin: 0 auto;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
} .nexsouk-weather-error {
background: #fee;
border: 1px solid #fcc;
border-radius: 8px;
padding: 20px;
margin: 20px 0;
color: #c33;
} .nexsouk-weather-alerts-section {
margin-bottom: 30px;
}
.nexsouk-weather-alert {
display: flex;
gap: 15px;
padding: 20px;
border-radius: 12px;
margin-bottom: 15px;
border-left: 5px solid;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.nexsouk-weather-alert-extreme {
background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
border-left-color: #c92a2a;
color: white;
}
.nexsouk-weather-alert-moderate {
background: linear-gradient(135deg, #ffd93d 0%, #ffb700 100%);
border-left-color: #f59f00;
color: #333;
}
.nexsouk-weather-alert-minor {
background: linear-gradient(135deg, #74c0fc 0%, #4dabf7 100%);
border-left-color: #1c7ed6;
color: white;
}
.nexsouk-weather-alert-icon {
font-size: 36px;
line-height: 1;
flex-shrink: 0;
}
.nexsouk-weather-alert-content {
flex: 1;
}
.nexsouk-weather-alert-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 15px;
margin-bottom: 10px;
flex-wrap: wrap;
}
.nexsouk-weather-alert-title {
margin: 0;
font-size: 20px;
font-weight: 700;
flex: 1;
}
.nexsouk-weather-alert-badge {
padding: 4px 12px;
border-radius: 20px;
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.nexsouk-weather-alert-badge-extreme {
background: rgba(0, 0, 0, 0.2);
color: white;
}
.nexsouk-weather-alert-badge-moderate {
background: rgba(0, 0, 0, 0.1);
color: #333;
}
.nexsouk-weather-alert-badge-minor {
background: rgba(0, 0, 0, 0.15);
color: white;
}
.nexsouk-weather-alert-description {
margin: 0 0 15px;
font-size: 15px;
line-height: 1.6;
}
.nexsouk-weather-alert-meta {
display: flex;
flex-direction: column;
gap: 8px;
font-size: 13px;
opacity: 0.95;
}
.nexsouk-weather-alert-time,
.nexsouk-weather-alert-sender {
display: flex;
align-items: center;
gap: 5px;
} @media (max-width: 768px) { .nexsouk-weather-dashboard {
margin: 0;
padding: 0;
}
.nexsouk-weather-alert {
flex-direction: column;
gap: 10px;
padding: 15px;
margin: 10px;
}
.nexsouk-weather-alert-icon {
font-size: 28px;
}
.nexsouk-weather-alert-title {
font-size: 18px;
}
.nexsouk-weather-alert-header {
flex-direction: column;
align-items: flex-start;
gap: 10px;
} .nexsouk-weather-map-wrapper {
height: calc(100vh - 100px) !important; min-height: 600px !important;
margin: 0 !important;
border-radius: 0 !important; }
.nexsouk-weather-radar {
height: 100% !important;
border-radius: 0 !important;
}
.nexsouk-weather-radar-section {
margin: 0 !important; padding: 0 !important;
} .nexsouk-weather-section-title {
margin: 10px 10px 8px;
font-size: 18px;
padding: 5px 0;
}
}
@media (max-width: 480px) {
.nexsouk-weather-alert-meta {
font-size: 12px;
} .nexsouk-weather-map-wrapper {
height: calc(100vh - 60px) !important; min-height: 500px !important;
margin: 0 !important;
}
.nexsouk-weather-radar {
height: 100% !important;
}
.nexsouk-weather-radar-section {
margin: 0 !important;
padding: 0 !important;
} .nexsouk-weather-section-title {
margin: 8px 8px 5px;
font-size: 16px;
padding: 3px 0;
} .nexsouk-weather-current-section,
.nexsouk-weather-forecast-section,
.nexsouk-weather-articles-section {
margin: 15px 8px;
padding: 10px;
}
} .nexsouk-weather-section-title {
font-size: 24px;
font-weight: 600;
margin: 30px 0 20px;
color: #333;
border-bottom: 2px solid #0073aa;
padding-bottom: 10px;
} .nexsouk-weather-radar-section {
margin-bottom: 40px;
}
.nexsouk-weather-map-wrapper {
position: relative;
width: 100%;
height: 500px;
}
.nexsouk-weather-radar {
width: 100%;
height: 100%;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
background: #f0f0f0;
position: relative;
} .nexsouk-weather-webcam-toggle {
position: absolute;
top: 20px;
right: 20px;
z-index: 1000;
}
.nexsouk-webcam-toggle-btn {
display: flex;
align-items: center;
gap: 8px;
padding: 10px 16px;
background: white;
border: 2px solid #667eea;
border-radius: 8px;
color: #667eea;
font-weight: 600;
font-size: 14px;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.nexsouk-webcam-toggle-btn:hover {
background: #667eea;
color: white;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}
.nexsouk-webcam-toggle-btn.active {
background: #667eea;
color: white;
}
.nexsouk-webcam-icon {
font-size: 18px;
line-height: 1;
}
.nexsouk-webcam-text {
line-height: 1;
} .nexsouk-windy-webcam-popup {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}
.nexsouk-windy-webcam-popup h4 {
color: #2c3e50;
line-height: 1.3;
}
.nexsouk-windy-webcam-popup a[name="windy-webcam-timelapse-player"] {
display: inline-block;
padding: 10px 16px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white !important;
border-radius: 6px;
text-align: center;
transition: transform 0.2s ease, box-shadow 0.2s ease;
box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}
.nexsouk-windy-webcam-popup a[name="windy-webcam-timelapse-player"]:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
} .leaflet-popup-content {
margin: 12px 16px;
}
.leaflet-popup-content-wrapper {
border-radius: 8px;
} .nexsouk-weather-webcam-carousel {
position: absolute;
bottom: 20px;
right: 20px;
width: 320px;
background: rgba(255, 255, 255, 0.98);
backdrop-filter: blur(10px);
border-radius: 12px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
overflow: hidden;
z-index: 1000;
transition: all 0.3s ease;
}
.nexsouk-weather-webcam-carousel:hover {
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.nexsouk-webcam-header {
display: flex;
align-items: center;
gap: 8px;
padding: 12px 16px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
font-weight: 600;
font-size: 14px;
}
.nexsouk-webcam-icon {
font-size: 18px;
}
.nexsouk-webcam-title {
flex: 1;
}
.nexsouk-webcam-count {
font-size: 12px;
opacity: 0.9;
background: rgba(255, 255, 255, 0.2);
padding: 2px 8px;
border-radius: 12px;
}
.nexsouk-webcam-slides {
position: relative;
width: 100%;
height: 200px;
overflow: hidden;
}
.nexsouk-webcam-slide {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
transition: opacity 0.5s ease;
pointer-events: none;
}
.nexsouk-webcam-slide.active {
opacity: 1;
pointer-events: auto;
}
.nexsouk-webcam-image-wrapper {
position: relative;
width: 100%;
height: 160px;
background: #000;
}
.nexsouk-webcam-image {
width: 100%;
height: 100%;
object-fit: cover;
}
.nexsouk-webcam-play-btn {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 50px;
height: 50px;
background: rgba(102, 126, 234, 0.9);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 20px;
text-decoration: none;
transition: all 0.3s ease;
opacity: 0.8;
}
.nexsouk-webcam-play-btn:hover {
opacity: 1;
background: rgba(102, 126, 234, 1);
transform: translate(-50%, -50%) scale(1.1);
}
.nexsouk-webcam-info {
padding: 12px 16px;
background: white;
}
.nexsouk-webcam-name {
font-weight: 600;
font-size: 14px;
color: #2c3e50;
margin-bottom: 4px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.nexsouk-webcam-location {
font-size: 12px;
color: #7f8c8d;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.nexsouk-webcam-controls {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 16px;
background: #f8f9fa;
border-top: 1px solid #e9ecef;
}
.nexsouk-webcam-prev,
.nexsouk-webcam-next {
width: 32px;
height: 32px;
border: none;
background: white;
color: #667eea;
font-size: 24px;
font-weight: bold;
border-radius: 50%;
cursor: pointer;
transition: all 0.2s ease;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.nexsouk-webcam-prev:hover,
.nexsouk-webcam-next:hover {
background: #667eea;
color: white;
transform: scale(1.1);
}
.nexsouk-webcam-dots {
display: flex;
gap: 8px;
}
.nexsouk-webcam-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: #cbd5e0;
cursor: pointer;
transition: all 0.2s ease;
}
.nexsouk-webcam-dot.active {
background: #667eea;
width: 24px;
border-radius: 4px;
}
.nexsouk-webcam-dot:hover {
background: #a0aec0;
} .nexsouk-weather-sponsor-banner {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
padding: 12px 16px;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
max-width: 300px;
z-index: 1000;
border: 1px solid rgba(0, 0, 0, 0.1);
}
.nexsouk-weather-sponsor-banner .sponsor-link,
.nexsouk-weather-sponsor-banner .sponsor-content {
display: flex;
align-items: center;
gap: 10px;
text-decoration: none;
color: #333;
}
.nexsouk-weather-sponsor-banner .sponsor-link:hover {
opacity: 0.9;
}
.nexsouk-weather-sponsor-banner .sponsor-text {
font-size: 13px;
font-weight: 500;
color: #666;
white-space: nowrap;
}
.nexsouk-weather-sponsor-banner .sponsor-logo {
max-height: 40px;
max-width: 150px;
height: auto;
width: auto;
display: block;
} @media (max-width: 768px) {
.nexsouk-weather-sponsor-banner {
max-width: 180px;
padding: 6px 10px;
font-size: 11px;
}
.nexsouk-weather-sponsor-banner .sponsor-text {
font-size: 10px;
}
.nexsouk-weather-sponsor-banner .sponsor-logo {
max-height: 25px;
max-width: 100px;
}
} .nexsouk-weather-current-section {
margin-bottom: 40px;
}
.nexsouk-weather-current {
background: #667eea;
border-radius: 12px;
padding: 30px;
color: white;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.nexsouk-weather-location h3 {
font-size: 32px;
margin: 0 0 5px;
font-weight: 600;
}
.nexsouk-weather-country {
font-size: 16px;
opacity: 0.9;
margin: 0;
}
.nexsouk-weather-main-info {
display: flex;
align-items: center;
justify-content: space-between;
margin: 30px 0;
flex-wrap: wrap;
gap: 20px;
}
.nexsouk-weather-temp-icon {
display: flex;
align-items: center;
gap: 20px;
}
.nexsouk-weather-icon-large {
width: 100px;
height: 100px;
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}
.nexsouk-weather-temp {
font-size: 64px;
font-weight: 700;
line-height: 1;
}
.nexsouk-weather-description {
text-align: right;
}
.nexsouk-weather-description p {
margin: 5px 0;
font-size: 20px;
text-transform: capitalize;
}
.nexsouk-weather-feels-like {
opacity: 0.9;
font-size: 16px !important;
} .nexsouk-weather-details-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 20px;
margin-top: 30px;
padding-top: 30px;
border-top: 1px solid rgba(255, 255, 255, 0.3);
}
.nexsouk-weather-detail {
display: flex;
flex-direction: column;
gap: 5px;
}
.nexsouk-weather-detail-label {
font-size: 14px;
opacity: 0.8;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.nexsouk-weather-detail-value {
font-size: 24px;
font-weight: 600;
} .nexsouk-weather-forecast-section {
margin-bottom: 40px;
}
.nexsouk-weather-forecast-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 20px;
}
.nexsouk-weather-forecast-day {
background: white;
border-radius: 12px;
padding: 20px;
text-align: center;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.2s, box-shadow 0.2s;
}
.nexsouk-weather-forecast-day:hover {
transform: translateY(-5px);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.nexsouk-weather-forecast-date {
font-size: 16px;
font-weight: 600;
color: #333;
margin-bottom: 10px;
}
.nexsouk-weather-forecast-icon {
width: 60px;
height: 60px;
margin: 10px 0;
}
.nexsouk-weather-forecast-desc {
font-size: 14px;
color: #666;
margin: 10px 0;
min-height: 40px;
text-transform: capitalize;
}
.nexsouk-weather-forecast-temps {
display: flex;
justify-content: center;
gap: 15px;
font-size: 18px;
font-weight: 600;
margin-top: 10px;
}
.nexsouk-weather-temp-max {
color: #e74c3c;
}
.nexsouk-weather-temp-min {
color: #3498db;
} .nexsouk-weather-articles-section {
margin-bottom: 40px;
}
.nexsouk-weather-articles-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
}
.nexsouk-weather-article {
background: white;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.2s, box-shadow 0.2s;
}
.nexsouk-weather-article:hover {
transform: translateY(-5px);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.nexsouk-weather-article-image {
width: 100%;
overflow: hidden;
}
.nexsouk-weather-article-image img {
width: 100%;
height: 200px;
object-fit: cover;
transition: transform 0.3s;
}
.nexsouk-weather-article:hover .nexsouk-weather-article-image img {
transform: scale(1.05);
}
.nexsouk-weather-article-content {
padding: 20px;
}
.nexsouk-weather-article-title {
margin: 0 0 10px;
font-size: 20px;
font-weight: 600;
}
.nexsouk-weather-article-title a {
color: #333;
text-decoration: none;
transition: color 0.2s;
}
.nexsouk-weather-article-title a:hover {
color: #0073aa;
}
.nexsouk-weather-article-meta {
font-size: 14px;
color: #999;
margin-bottom: 10px;
}
.nexsouk-weather-article-excerpt {
font-size: 14px;
color: #666;
line-height: 1.6;
margin-bottom: 15px;
}
.nexsouk-weather-article-link {
color: #0073aa;
text-decoration: none;
font-weight: 600;
font-size: 14px;
transition: color 0.2s;
}
.nexsouk-weather-article-link:hover {
color: #005177;
} @media (max-width: 768px) {
.nexsouk-weather-radar {
height: 350px;
}
.nexsouk-weather-current {
padding: 20px;
}
.nexsouk-weather-temp {
font-size: 48px;
}
.nexsouk-weather-icon-large {
width: 80px;
height: 80px;
}
.nexsouk-weather-main-info {
flex-direction: column;
align-items: flex-start;
}
.nexsouk-weather-description {
text-align: left;
}
.nexsouk-weather-details-grid {
grid-template-columns: repeat(2, 1fr);
}
.nexsouk-weather-forecast-grid {
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}
.nexsouk-weather-articles-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 480px) {
.nexsouk-weather-radar {
height: 250px;
}
.nexsouk-weather-section-title {
font-size: 20px;
}
.nexsouk-weather-temp {
font-size: 40px;
}
.nexsouk-weather-location h3 {
font-size: 24px;
}
.nexsouk-weather-details-grid {
grid-template-columns: 1fr;
}
} .nexsouk-weather-feels-like-prominent {
display: flex;
align-items: center;
gap: 8px;
font-size: 18px;
margin-top: 8px;
padding: 10px 16px;
background: #f1f3f5;
border-radius: 8px;
border: 1px solid #dee2e6;
}
.nexsouk-weather-feels-label {
color: #495057;
font-weight: 500;
}
.nexsouk-weather-feels-temp {
font-weight: 700;
color: #212529;
font-size: 24px;
}
.nexsouk-weather-condition {
font-size: 16px;
font-weight: 500;
text-transform: capitalize;
} .nexsouk-weather-impact-section {
margin: 25px 0;
padding: 20px;
background: #f8f9fa;
border-radius: 12px;
border: 1px solid #e9ecef;
}
.nexsouk-weather-impact-title {
font-size: 18px;
font-weight: 600;
margin: 0 0 15px 0;
color: #333;
}
.nexsouk-weather-impact-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 15px;
}
.nexsouk-weather-impact-card {
display: flex;
align-items: center;
gap: 12px;
padding: 15px;
border-radius: 10px;
background: white;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
transition: transform 0.2s, box-shadow 0.2s;
}
.nexsouk-weather-impact-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.nexsouk-weather-impact-icon {
font-size: 32px;
line-height: 1;
}
.nexsouk-weather-impact-content {
flex: 1;
}
.nexsouk-weather-impact-label {
font-size: 12px;
color: #666;
margin-bottom: 4px;
font-weight: 500;
}
.nexsouk-weather-impact-value {
font-size: 16px;
font-weight: 700;
text-transform: capitalize;
} .nexsouk-weather-impact-good .nexsouk-weather-impact-value,
.nexsouk-weather-impact-excellent .nexsouk-weather-impact-value {
color: #2f9e44;
}
.nexsouk-weather-impact-fair .nexsouk-weather-impact-value,
.nexsouk-weather-impact-slippery .nexsouk-weather-impact-value {
color: #f59f00;
}
.nexsouk-weather-impact-poor .nexsouk-weather-impact-value,
.nexsouk-weather-impact-hazardous .nexsouk-weather-impact-value {
color: #e03131;
} .nexsouk-weather-sun-section {
margin: 25px 0;
padding: 20px;
background: #fff3e0;
border-radius: 12px;
border: 1px solid #ffe0b2;
}
.nexsouk-weather-sun-title {
font-size: 18px;
font-weight: 600;
margin: 0 0 15px 0;
color: #333;
}
.nexsouk-weather-sun-timeline {
display: flex;
flex-direction: column;
gap: 15px;
}
.nexsouk-weather-sun-info {
display: flex;
justify-content: space-between;
gap: 20px;
}
.nexsouk-weather-sun-item {
display: flex;
align-items: center;
gap: 10px;
}
.nexsouk-weather-sun-icon {
font-size: 32px;
line-height: 1;
}
.nexsouk-weather-sun-details {
display: flex;
flex-direction: column;
}
.nexsouk-weather-sun-label {
font-size: 12px;
color: #666;
font-weight: 500;
}
.nexsouk-weather-sun-time {
font-size: 18px;
font-weight: 700;
color: #333;
}
.nexsouk-weather-sun-bar {
width: 100%;
padding: 10px 0;
}
.nexsouk-weather-sun-track {
position: relative;
width: 100%;
height: 8px;
background: rgba(0, 0, 0, 0.1);
border-radius: 4px;
overflow: visible;
}
.nexsouk-weather-sun-progress {
height: 100%;
background: #ffd93d;
border-radius: 4px;
transition: width 0.3s ease;
}
.nexsouk-weather-sun-indicator {
position: absolute;
top: 50%;
transform: translate(-50%, -50%);
font-size: 20px;
line-height: 1;
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}
.nexsouk-weather-daylight-hours {
text-align: center;
font-size: 14px;
color: #666;
font-weight: 500;
} .nexsouk-weather-hourly-section {
margin: 30px 0;
}
.nexsouk-weather-hourly-container {
background: white;
border-radius: 12px;
padding: 20px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
position: relative;
}
.nexsouk-weather-hourly-scroll {
display: flex;
gap: 15px;
overflow-x: auto;
padding: 10px 0;
scroll-behavior: smooth;
position: relative;
padding-top: 130px; justify-content: center; }
.nexsouk-weather-hourly-graph-overlay {
position: absolute;
top: 20px;
left: 0;
right: 0;
height: 120px;
pointer-events: none;
overflow: visible;
display: flex;
justify-content: center; }
.nexsouk-weather-hourly-graph-overlay::-webkit-scrollbar {
display: none; }
.nexsouk-weather-temp-graph {
display: block;
}
.nexsouk-weather-hourly-scroll::-webkit-scrollbar {
height: 8px;
}
.nexsouk-weather-hourly-scroll::-webkit-scrollbar-track {
background: #f1f3f5;
border-radius: 4px;
}
.nexsouk-weather-hourly-scroll::-webkit-scrollbar-thumb {
background: #667eea;
border-radius: 4px;
}
.nexsouk-weather-hourly-scroll::-webkit-scrollbar-thumb:hover {
background: #5a67d8;
}
.nexsouk-weather-hourly-item {
flex: 0 0 100px;
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
padding: 15px 10px;
border-radius: 10px;
background: #f8f9fa;
border: 1px solid #e9ecef;
transition: transform 0.2s, box-shadow 0.2s;
}
.nexsouk-weather-hourly-item:hover {
transform: translateY(-3px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.nexsouk-weather-hourly-time {
font-size: 14px;
font-weight: 600;
color: #495057;
}
.nexsouk-weather-hourly-icon {
width: 50px;
height: 50px;
}
.nexsouk-weather-hourly-temp {
font-size: 18px;
font-weight: 700;
color: #667eea;
}
.nexsouk-weather-hourly-rain {
display: flex;
align-items: center;
gap: 4px;
font-size: 12px;
color: #4dabf7;
font-weight: 600;
}
.nexsouk-weather-rain-icon {
font-size: 14px;
}
.nexsouk-weather-hourly-wind {
font-size: 12px;
color: #868e96;
font-weight: 500;
} .nexsouk-weather-coming-soon-card {
margin: 30px 0;
padding: 25px;
background: #f8f9fa;
border-radius: 12px;
border: 2px dashed #dee2e6;
}
.nexsouk-weather-coming-soon-content {
display: flex;
align-items: center;
gap: 20px;
justify-content: center;
text-align: center;
}
.nexsouk-weather-coming-soon-icon {
font-size: 48px;
line-height: 1;
opacity: 0.6;
}
.nexsouk-weather-coming-soon-text {
color: #6c757d;
}
.nexsouk-weather-coming-soon-text h3 {
margin: 0 0 8px 0;
font-size: 20px;
font-weight: 600;
color: #495057;
}
.nexsouk-weather-coming-soon-text p {
margin: 0;
font-size: 14px;
opacity: 0.8;
} .nexsouk-weather-notification-widget {
margin: 30px 0;
padding: 25px;
background: #667eea;
border-radius: 12px;
box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}
.nexsouk-weather-notification-content {
display: flex;
align-items: center;
gap: 20px;
flex-wrap: wrap;
}
.nexsouk-weather-notification-icon {
font-size: 48px;
line-height: 1;
}
.nexsouk-weather-notification-text {
flex: 1;
color: white;
min-width: 200px;
}
.nexsouk-weather-notification-text h3 {
margin: 0 0 8px 0;
font-size: 22px;
font-weight: 700;
}
.nexsouk-weather-notification-text p {
margin: 0;
font-size: 14px;
opacity: 0.95;
}
.nexsouk-weather-notification-btn {
padding: 12px 24px;
background: white;
color: #667eea;
text-decoration: none;
border-radius: 8px;
font-weight: 600;
font-size: 14px;
transition: transform 0.2s, box-shadow 0.2s;
white-space: nowrap;
}
.nexsouk-weather-notification-btn:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
} @media (max-width: 768px) {
.nexsouk-weather-feels-like-prominent {
font-size: 16px;
}
.nexsouk-weather-feels-temp {
font-size: 18px;
}
.nexsouk-weather-impact-grid {
grid-template-columns: 1fr;
}
.nexsouk-weather-sun-info {
flex-direction: column;
gap: 15px;
}
.nexsouk-weather-hourly-item {
flex: 0 0 80px;
}
.nexsouk-weather-coming-soon-content {
flex-direction: column;
}
.nexsouk-weather-coming-soon-icon {
font-size: 64px;
}
.nexsouk-weather-notification-content {
flex-direction: column;
text-align: center;
}
.nexsouk-weather-notification-icon {
font-size: 64px;
}
} .nexsouk-weather-widget-link {
text-decoration: none;
color: inherit;
display: inline-block;
cursor: pointer;
}
.nexsouk-weather-widget {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 8px;
padding: 12px 16px;
color: white;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
max-width: 200px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
display: inline-block;
}
.nexsouk-weather-widget-link:hover .nexsouk-weather-widget,
.nexsouk-weather-widget:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.nexsouk-weather-widget-logo-link {
display: block;
margin-bottom: 8px;
}
.nexsouk-weather-widget-logo {
max-width: 100px;
height: auto;
display: block;
margin: 0 auto;
}
.nexsouk-weather-widget-content {
text-align: center;
}
.nexsouk-weather-widget-temp {
font-size: 32px;
font-weight: bold;
line-height: 1;
margin-bottom: 6px;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.nexsouk-weather-widget-details {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
margin-bottom: 6px;
}
.nexsouk-weather-widget-icon {
width: 32px;
height: 32px;
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}
.nexsouk-weather-widget-info {
text-align: left;
}
.nexsouk-weather-widget-condition {
font-size: 13px;
font-weight: 500;
text-transform: capitalize;
line-height: 1.2;
}
.nexsouk-weather-widget-feels {
font-size: 11px;
opacity: 0.9;
line-height: 1.2;
}
.nexsouk-weather-widget-location {
font-size: 12px;
font-weight: 500;
margin-top: 6px;
padding-top: 6px;
border-top: 1px solid rgba(255, 255, 255, 0.3);
}
.nexsouk-weather-widget-updated {
font-size: 10px;
opacity: 0.8;
margin-top: 4px;
}
.nexsouk-weather-widget-error {
background: #f44336;
color: white;
padding: 15px;
border-radius: 8px;
text-align: center;
font-weight: 500;
} @media (max-width: 480px) {
.nexsouk-weather-widget {
max-width: 100%;
}
.nexsouk-weather-widget-temp {
font-size: 28px;
}
} @keyframes radarPulse {
0%, 100% {
filter: brightness(1) contrast(1.1);
}
50% {
filter: brightness(1.1) contrast(1.2);
}
}
@keyframes layerFadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
} .wind-particles-canvas {
pointer-events: none;
mix-blend-mode: normal;
opacity: 1.0; } .weather-layer-animated {
animation: layerFadeIn 0.5s ease-in;
}
.radar-layer {
animation: radarPulse 3s ease-in-out infinite;
filter: brightness(1.15) contrast(1.2) saturate(1.2);
} .leaflet-tile-container img {
image-rendering: -webkit-optimize-contrast;
image-rendering: crisp-edges;
} .leaflet-control-layers {
background: rgba(255, 255, 255, 0.98) !important;
backdrop-filter: blur(15px);
border-radius: 12px !important;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
border: 2px solid rgba(102, 126, 234, 0.3) !important;
padding: 12px !important;
min-width: 220px;
transition: all 0.3s ease;
}
.leaflet-control-layers-expanded {
padding: 15px !important;
}
.leaflet-control-layers-toggle {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
background-image: none !important;
width: 44px !important;
height: 44px !important;
border-radius: 10px !important;
transition: transform 0.2s ease, box-shadow 0.2s ease;
box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}
.leaflet-control-layers-toggle:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}
.leaflet-control-layers-toggle::before {
content: '🗺️';
font-size: 24px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
} .leaflet-control-layers-expanded::before {
content: '🗺️ Weather Layers';
display: block;
font-size: 14px;
font-weight: 600;
color: #667eea;
margin-bottom: 12px;
padding-bottom: 12px;
border-bottom: 2px solid rgba(102, 126, 234, 0.2);
}
.leaflet-control-layers-list {
padding: 8px 0 !important;
}
.leaflet-control-layers label {
display: flex !important;
align-items: center;
padding: 8px 4px !important;
margin: 2px 0 !important;
border-radius: 6px;
transition: background 0.2s ease;
cursor: pointer;
font-size: 14px;
font-weight: 500;
color: #333;
}
.leaflet-control-layers label:hover {
background: rgba(102, 126, 234, 0.1);
}
.leaflet-control-layers-overlays label input[type="checkbox"] {
margin-right: 8px !important;
cursor: pointer;
width: 18px;
height: 18px;
accent-color: #667eea;
} .leaflet-control-layers-separator {
height: 1px;
background: rgba(0, 0, 0, 0.1);
margin: 8px 0 !important;
} .nexsouk-opacity-control {
background: rgba(255, 255, 255, 0.98) !important;
backdrop-filter: blur(15px);
border-radius: 12px !important;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
border: 2px solid rgba(102, 126, 234, 0.3) !important;
padding: 0 !important;
min-width: 220px;
margin-top: 10px !important;
overflow: hidden;
transition: all 0.3s ease;
}
.nexsouk-opacity-control.collapsed {
min-width: auto;
}
.nexsouk-opacity-header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 0 !important;
border-bottom: none;
}
.nexsouk-opacity-toggle {
width: 100%;
background: transparent;
border: none;
color: white;
padding: 10px 12px;
font-size: 13px;
font-weight: 600;
cursor: pointer;
display: flex;
align-items: center;
gap: 8px;
transition: background 0.2s ease;
}
.nexsouk-opacity-toggle:hover {
background: rgba(255, 255, 255, 0.1);
}
.nexsouk-opacity-toggle .toggle-icon {
font-size: 16px;
line-height: 1;
}
.nexsouk-opacity-toggle strong {
flex: 1;
text-align: left;
}
.nexsouk-opacity-toggle .toggle-arrow {
font-size: 10px;
transition: transform 0.3s ease;
}
.nexsouk-opacity-control:not(.collapsed) .toggle-arrow {
transform: rotate(180deg);
}
.nexsouk-opacity-sliders {
padding: 12px;
max-height: 300px;
overflow-y: auto;
transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
}
.nexsouk-opacity-control.collapsed .nexsouk-opacity-sliders {
max-height: 0;
padding: 0 12px;
opacity: 0;
overflow: hidden;
}
.nexsouk-opacity-item {
margin-bottom: 12px;
padding-bottom: 12px;
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.nexsouk-opacity-item:last-child {
border-bottom: none;
margin-bottom: 0;
padding-bottom: 0;
}
.nexsouk-opacity-label {
display: block;
font-size: 12px;
font-weight: 600;
color: #333;
margin-bottom: 6px;
}
.nexsouk-opacity-slider-wrapper {
display: flex;
align-items: center;
gap: 8px;
}
.nexsouk-opacity-slider {
flex: 1;
height: 6px;
border-radius: 3px;
background: linear-gradient(to right, 
rgba(102, 126, 234, 0.2) 0%, 
rgba(102, 126, 234, 0.8) 100%);
outline: none;
-webkit-appearance: none;
appearance: none;
cursor: pointer;
}
.nexsouk-opacity-slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 16px;
height: 16px;
border-radius: 50%;
background: #667eea;
cursor: pointer;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nexsouk-opacity-slider::-webkit-slider-thumb:hover {
transform: scale(1.2);
box-shadow: 0 3px 10px rgba(102, 126, 234, 0.5);
}
.nexsouk-opacity-slider::-moz-range-thumb {
width: 16px;
height: 16px;
border-radius: 50%;
background: #667eea;
cursor: pointer;
border: none;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nexsouk-opacity-slider::-moz-range-thumb:hover {
transform: scale(1.2);
box-shadow: 0 3px 10px rgba(102, 126, 234, 0.5);
}
.nexsouk-opacity-value {
font-size: 11px;
font-weight: 600;
color: #667eea;
min-width: 35px;
text-align: right;
} .nexsouk-wind-compass {
background: rgba(255, 255, 255, 0.98) !important;
backdrop-filter: blur(15px);
border-radius: 12px !important;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
border: 2px solid rgba(102, 126, 234, 0.3) !important;
padding: 0 !important;
z-index: 1000;
}
.wind-compass-card {
padding: 15px;
}
.wind-compass-title {
font-size: 14px;
font-weight: 600;
color: #667eea;
margin-bottom: 12px;
text-align: center;
}
.wind-compass-display {
display: flex;
justify-content: center;
margin: 10px 0;
}
.wind-compass-circle {
position: relative;
width: 100px;
height: 100px;
border-radius: 50%;
border: 2px solid rgba(102, 126, 234, 0.3);
background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
}
.wind-compass-arrow {
position: absolute;
top: 50%;
left: 50%;
transform-origin: center center;
transform: translate(-50%, -50%);
transition: transform 0.5s ease;
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
} .wind-compass-n,
.wind-compass-s,
.wind-compass-e,
.wind-compass-w {
position: absolute;
font-size: 12px;
font-weight: 700;
color: #667eea;
}
.wind-compass-n {
top: 5px;
left: 50%;
transform: translateX(-50%);
}
.wind-compass-s {
bottom: 5px;
left: 50%;
transform: translateX(-50%);
}
.wind-compass-e {
right: 8px;
top: 50%;
transform: translateY(-50%);
}
.wind-compass-w {
left: 8px;
top: 50%;
transform: translateY(-50%);
}
.wind-compass-data {
text-align: center;
margin-top: 12px;
padding-top: 12px;
border-top: 1px solid rgba(102, 126, 234, 0.2);
}
.wind-speed {
font-size: 18px;
font-weight: 700;
color: #667eea;
margin-bottom: 4px;
}
.wind-direction {
font-size: 12px;
color: #666;
font-weight: 500;
} .nexsouk-weather-legend {
position: absolute;
bottom: 20px;
left: 20px;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
padding: 15px;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
border: 1px solid rgba(0, 0, 0, 0.1);
z-index: 1000;
max-width: 250px;
}
.nexsouk-weather-legend h4 {
margin: 0 0 10px 0;
font-size: 14px;
font-weight: 600;
color: #333;
}
.nexsouk-weather-legend-item {
display: flex;
align-items: center;
gap: 8px;
margin: 6px 0;
font-size: 12px;
color: #666;
}
.nexsouk-weather-legend-color {
width: 20px;
height: 12px;
border-radius: 3px;
border: 1px solid rgba(0, 0, 0, 0.2);
} @media (max-width: 768px) {
.nexsouk-weather-webcam-carousel {
width: 280px;
bottom: 15px;
right: 15px;
}
.nexsouk-webcam-slides {
height: 180px;
}
.nexsouk-webcam-image-wrapper {
height: 140px;
} .leaflet-control-layers {
min-width: 180px;
}
.leaflet-control-layers label {
font-size: 13px;
} .nexsouk-opacity-control {
min-width: 180px;
}
.nexsouk-opacity-toggle {
font-size: 12px;
padding: 8px 10px;
}
}
@media (max-width: 480px) {
.nexsouk-weather-webcam-carousel {
width: calc(100% - 20px);
left: 10px;
right: 10px;
bottom: 10px;
}
.nexsouk-webcam-header {
font-size: 13px;
padding: 10px 12px;
}
.nexsouk-webcam-slides {
height: 160px;
}
.nexsouk-webcam-image-wrapper {
height: 120px;
}
.nexsouk-webcam-info {
padding: 10px 12px;
}
.nexsouk-webcam-name {
font-size: 13px;
}
.nexsouk-webcam-location {
font-size: 11px;
}
.nexsouk-webcam-controls {
padding: 10px 12px;
}
.nexsouk-webcam-prev,
.nexsouk-webcam-next {
width: 28px;
height: 28px;
font-size: 20px;
} .nexsouk-webcam-toggle-btn {
padding: 8px 12px;
font-size: 13px;
}
.nexsouk-webcam-icon {
font-size: 16px;
} .leaflet-control-layers {
min-width: 160px;
font-size: 12px;
}
.leaflet-control-layers label {
font-size: 12px;
padding: 6px 4px !important;
}
.leaflet-control-layers-toggle {
width: 40px !important;
height: 40px !important;
}
.leaflet-control-layers-toggle::before {
font-size: 20px;
} .nexsouk-opacity-control {
min-width: 160px;
}
.nexsouk-opacity-toggle {
font-size: 11px;
padding: 8px 10px;
gap: 6px;
}
.nexsouk-opacity-toggle .toggle-icon {
font-size: 14px;
}
.nexsouk-opacity-item {
margin-bottom: 10px;
padding-bottom: 10px;
}
.nexsouk-opacity-label {
font-size: 11px;
}
.nexsouk-opacity-value {
font-size: 10px;
min-width: 30px;
} .nexsouk-weather-legend {
max-width: calc(100% - 40px);
left: 10px;
bottom: 10px;
padding: 12px;
} .wind-compass-card {
padding: 8px;
}
.wind-compass-title {
font-size: 11px;
margin-bottom: 4px;
}
.wind-compass-circle {
width: 60px;
height: 60px;
}
.wind-compass-arrow svg {
width: 40px;
height: 40px;
}
.wind-compass-n,
.wind-compass-s,
.wind-compass-e,
.wind-compass-w {
font-size: 9px;
}
.wind-speed {
font-size: 13px;
}
.wind-direction {
font-size: 10px;
} .leaflet-control-layers.collapsed,
.nexsouk-opacity-control.collapsed {
max-height: 40px;
} .leaflet-control-zoom {
transform: scale(0.9);
} .leaflet-control-layers-toggle {
width: 32px !important;
height: 32px !important;
font-size: 16px !important;
} .nexsouk-opacity-toggle {
padding: 6px 8px !important;
font-size: 11px !important;
}
.nexsouk-opacity-toggle .toggle-icon {
font-size: 14px !important;
}
} @media (max-width: 768px) {
.nexsouk-wind-compass {
transition: all 0.3s ease;
}
.nexsouk-wind-compass.minimized .wind-compass-card {
padding: 6px 10px;
cursor: pointer;
}
.nexsouk-wind-compass.minimized .wind-compass-display,
.nexsouk-wind-compass.minimized .wind-compass-data {
display: none;
}
.nexsouk-wind-compass.minimized .wind-compass-title {
margin-bottom: 0;
font-size: 12px;
}
.nexsouk-wind-compass.minimized .wind-compass-title::after {
content: ' 💨';
}
} .nexsouk-scroll-to-weather {
display: none; }
@media (max-width: 768px) {
.nexsouk-scroll-to-weather {
display: block;
position: fixed;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
z-index: 1000;
animation: bounceIn 0.6s ease-out;
}
.nexsouk-scroll-btn {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 4px;
width: 60px;
height: 60px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border: none;
border-radius: 50%;
box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
cursor: pointer;
font-size: 11px;
font-weight: 600;
text-align: center;
transition: all 0.3s ease;
padding: 8px;
line-height: 1.2;
}
.nexsouk-scroll-btn:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}
.nexsouk-scroll-btn:active {
transform: translateY(0);
}
.nexsouk-scroll-btn-icon {
font-size: 20px;
animation: bounceArrow 2s infinite;
} .nexsouk-scroll-to-weather.hidden {
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease;
}
}
@keyframes bounceIn {
0% {
opacity: 0;
transform: scale(0.3) translateY(-100px);
}
50% {
opacity: 1;
transform: scale(1.05);
}
70% {
transform: scale(0.9);
}
100% {
transform: scale(1);
}
}
@keyframes bounceArrow {
0%, 20%, 50%, 80%, 100% {
transform: translateY(0);
}
40% {
transform: translateY(-8px);
}
60% {
transform: translateY(-4px);
}
}