/*

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, Roboto, 'Segoe UI', Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}*/

:root {
    --bg: #f0f4f8;
    --card: #ffffff;
    --text: #1f2937;
    --muted: #64748b;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --border: #d1d5db;
    --shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    --radius: 12px;
}

body {
    background-color: #f0f4f8;
}
.demo_pnlouter {
    background-color: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wrapper {
    width: min(100%, 680px);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.wrapper p{
    margin: 1rem 1.25rem;
}

.wrapper header {
    background: linear-gradient(120deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 1rem 1.25rem;
}

.wrapper header h1 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.status {
    margin: 1rem 1.25rem;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.status.success {
    background-color: #ecfdf5;
    color: #166534;
    border-color: #a7f3d0;
}

.status.error {
    background-color: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}

form {
    padding: 1.25rem;
    display: grid;
    gap: 0.85rem;
}

label {
    font-size: 0.92rem;
    color: var(--muted);
    margin-bottom: 0.25rem;
    display: inline-block;
}

input[type="text"],
input[type="email"],
input[type="file"],
textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 0.74rem 0.8rem;
    font-size: 0.95rem;
    background: #ffffff;
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="file"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

textarea {
    min-height: 140px;
    resize: vertical;
}

.actions {
    margin-top: 0.5rem;
    display: flex;
    justify-content: flex-end;
}

button {
    border: none;
    background-color: var(--primary);
    color: white;
    border-radius: 0.75rem;
    padding: 0.73rem 1.2rem;
    font-size: 0.98rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    body {
    padding: 0.6rem;
    }

    header h1 {
    font-size: 1rem;
    }

    form {
    padding: 1rem;
    }

    button {
    width: 100%;
    }
}