﻿body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(135deg, #f5f7fa, #e4ebf5);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.container {
    text-align: center;
    padding: 40px;
}

.card {
    background: #ffffff;
    padding: 40px 50px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-width: 420px;
    width: 100%;
}

.icon {
    font-size: 48px;
    margin-bottom: 15px;
}

h1 {
    margin: 10px 0;
    font-size: 28px;
    color: #2c3e50;
}

p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 25px;
}

.button {
    display: inline-block;
    padding: 10px 18px;
    background: #4a6cf7;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    transition: background 0.2s ease-in-out;
}

    .button:hover {
        background: #3a57d6;
    }

.footer-note {
    margin-top: 15px;
    font-size: 12px;
    color: #999;
}


Layout = null;
}

<!DOCTYPE html >
<html lang="en" >
<head >
<meta charset="utf-8" / >
<meta name="viewport" content="width=device-width, initial-scale=1" / >
<title > Dashboard</title >

<style >
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f6fb;
    width: 100%;
    min-height: 100vh;
}

.header {
    padding: 14px 20px;
    background: #1f2a44;
    color: white;
    font-size: 18px;
    width: 100%;
}

/* FIX: proper full-width grid container */
.dashboard {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 15px;
    padding: 15px;
    width: 100%;
    align-items: start;
}

/* responsive grid */
@media (max-width: 1100px) {
    .dashboard {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .dashboard {
        grid-template-columns: 1fr;
    }
}

.widget {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 260px;
    /* grid resizing (important upgrade) */
    resize: none;
}

.widget-header {
    background: #2f3b52;
    color: white;
    padding: 10px;
    cursor: grab;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .widget-header:active {
        cursor: grabbing;
    }

.widget-body {
    flex: 1;
    height: 100%;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.dragging {
    opacity: 0.5;
}

/* optional visual improvement */
.widget:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}