/* Create this folder and file */
.iphone-weather-widget {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #1e1e2e, #2d2d44);
    color: white;
    overflow: hidden;
    position: relative;
}

.iw-design-iphone {
    background: linear-gradient(135deg, #1e1e2e, #2d2d44);
    color: white;
}

.iw-design-dark {
    background: #121212;
    color: #ffffff;
}

.iw-design-light {
    background: #ffffff;
    color: #212529;
    border: 1px solid #e0e0e0;
}

.iw-header {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.iw-home-icon {
    font-size: 18px;
    margin-right: 5px;
}

.iw-location {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.iw-temp {
    font-size: 48px;
    font-weight: 300;
    margin: 10px 0;
}

.iw-condition {
    font-size: 16px;
    opacity: 0.8;
}

.iw-navigation {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.iw-nav-btn {
    background: transparent;
    border: none;
    color: white;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.iw-nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.iw-nav-btn.active {
    background: rgba(255, 255, 255, 0.2);
}

.iw-page-container {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.iw-page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    display: none;
    transition: transform 0.5s ease-out;
}

.iw-page.active {
    display: block;
}

.iw-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px 0;
}

.iw-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
}

.iw-section h3 {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 10px 0;
    opacity: 0.7;
}

.iw-section .iw-value {
    font-size: 24px;
    font-weight: bold;
}

.iw-hourly-forecast,
.iw-10day-forecast {
    grid-column: span 2;
}

.iw-hourly-forecast h3,
.iw-10day-forecast h3 {
    margin-bottom: 15px;
    text-align: center;
}

.iw-hourly-list,
.iw-10day-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.iw-hourly-item,
.iw-10day-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    flex: 1 1 100px;
    min-width: 80px;
}

.iw-hourly-item .iw-hour,
.iw-10day-item .iw-date {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.iw-hourly-item .iw-hourly-icon,
.iw-10day-item .iw-10day-icon {
    width: 30px;
    height: 30px;
    margin: 5px 0;
}

.iw-hourly-item .iw-hourly-temp,
.iw-10day-item .iw-10day-temp {
    font-size: 16px;
    font-weight: bold;
}

.iw-10day-item .iw-10day-condition {
    font-size: 12px;
    opacity: 0.8;
}

.iw-error {
    background: #dc3545;
    color: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

/* Basic transition styles */
.iw-transition-slide-top .iw-page {
    transform: translateY(100%);
}

.iw-transition-slide-top .iw-page.active {
    transform: translateY(0);
}

.iw-transition-fade .iw-page {
    opacity: 0;
}

.iw-transition-fade .iw-page.active {
    opacity: 1;
}

.iw-transition-slide-left .iw-page {
    transform: translateX(-100%);
}

.iw-transition-slide-left .iw-page.active {
    transform: translateX(0);
}

.iw-transition-slide-right .iw-page {
    transform: translateX(100%);
}

.iw-transition-slide-right .iw-page.active {
    transform: translateX(0);
}

.iw-transition-zoom-in .iw-page {
    transform: scale(0.8);
    opacity: 0;
}

.iw-transition-zoom-in .iw-page.active {
    transform: scale(1);
    opacity: 1;
}

.iw-transition-zoom-out .iw-page {
    transform: scale(1);
    opacity: 1;
}

.iw-transition-zoom-out .iw-page.active {
    transform: scale(0.8);
    opacity: 0;
}

.iw-transition-flip .iw-page {
    transform: perspective(400px) rotateY(90deg);
    opacity: 0;
}

.iw-transition-flip .iw-page.active {
    transform: perspective(400px) rotateY(0deg);
    opacity: 1;
}

.iw-transition-rotate .iw-page {
    transform: rotate(-180deg);
    opacity: 0;
}

.iw-transition-rotate .iw-page.active {
    transform: rotate(0deg);
    opacity: 1;
}

.iw-transition-bounce .iw-page {
    transform: scale(0.5);
    opacity: 0;
}

.iw-transition-bounce .iw-page.active {
    transform: scale(1);
    opacity: 1;
}

.iw-transition-none .iw-page {
    /* No animation */
}