:root {
    --bg: #f8f9fa;
    --text: #333;
    --header-bg: linear-gradient(to right, #4facfe, #00f2fe);
    --widget-title: #2c3e50;
}

body.dark-mode {
    --bg: #121212;
    --text: #eee;
    --header-bg: linear-gradient(to right, #1e3c72, #2a5298);
    --widget-title: #ddd;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    transition: background-color 0.4s, color 0.4s;
}

.header-section {
    background: var(--header-bg);
    color: white;
    padding: 30px 15px 10px;
    border-radius: 0 0 15px 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: relative;
}



h1 {
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.date-time {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1rem;
    color: var(--text);
}

.widget-title {
    font-weight: 600;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 1rem;
    color: var(--widget-title);
}

iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: none;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#toTop {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    display: none;
    background-color: #0d6efd;
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: opacity 0.3s;
}

#toTop:hover {
    background-color: #0a58ca;
}

.theme-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 1.4rem;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.theme-toggle:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(20deg);
}

.widget-box {
    background-color: #fff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: background-color 0.3s;
}

body.dark-mode .widget-box {
    background-color: #1e1e1e;
}

.container {
    background-color: var(--bg);
    transition: background-color 0.4s;
    padding: 20px;
    border-radius: 15px;
}


