 * { margin: 0; padding: 0; box-sizing: border-box; }
body, html {
  height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
    background-color: #f5f7fa;
}

        header {
            position: fixed;
            top: 0; left: 0;
            width: 100%; height: 56px;
            background-color: #d1e4ff;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 1rem;
            box-shadow: 0 2px 4px rgb(0 0 0 / 0.1);
            z-index: 1200;
        }

        #menu-toggle {
            background-color: transparent;
            border: none;
            color: #004aad;
            font-size: 2rem;
            cursor: pointer;
            padding: 0.2rem 0.5rem;
            border-radius: 6px;
            transition: background-color 0.2s;
        }

        #menu-toggle:hover {
            background-color: #a8c3ff;
        }

        .header-text {
            color: #004aad;
            font-weight: 600;
            font-size: 1.2rem;
        }
        .header-text .step-number {
            color: #d93025;
            font-weight: 700;
            font-size: 1.3rem;
            margin-right: 0.25rem;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.15);
        }

        .sidebar {
            width: 250px;
            background-color: #004aad;
            color: white;
            display: flex;
            flex-direction: column;
            padding: 1rem;
            position: fixed;
            top: 56px; left: 0;
            height: calc(100vh - 56px);
            transform: translateX(-100%);
            transition: transform 0.3s ease;
            z-index: 1100;
        }
        .sidebar.show { transform: translateX(0); }

        .sidebar-header {
            display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem;
        }
        .sidebar-header h2 { font-size: 1.5rem; }

        #close-btn {
            background: transparent;
            border: none;
            color: white;
            font-size: 2rem;
            cursor: pointer;
            line-height: 1;
        }

        .sidebar a {
            color: white;
            text-decoration: none;
            margin: 0.27rem 0;
            font-size: 1.02rem;
            display: block;
            transition: background 0.2s;
            padding: 0.3rem 0.6rem;
            border-radius: 6px;
        }
        .sidebar a:hover { background-color: #0066cc; }
        .sidebar a.sustine-proiect {
            background-color: #374151;
            color: #f9fafb;
            font-weight: 600;
            text-align: center;
            padding: 0.6rem 0.8rem;
            margin-top: 0.2rem;
            border-radius: 8px;
            font-size: 1.05rem;
            transition: background-color 0.3s, transform 0.2s;
        }
        .sidebar a.sustine-proiect:hover { background-color: #1f2937; transform: scale(1.05); }

        #content-wrapper {
            flex: 1 0 auto;
            padding-top: 56px;
            margin-left: 0;
            transition: margin-left 0.3s ease;
        }
        #content-wrapper.shifted { margin-left: 250px; }

        .container { max-width: 820px; margin: 0 auto; }

        .card {
            background: #fff;
            padding: 2rem;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            margin-bottom: 2rem;
        }
        .card h1 { text-align: center; color: #004aad; margin-bottom: 1rem; font-size: 1.6rem; }

        form .form-group { margin-top: 1rem; }
        form label { display: block; font-weight: 600; margin-bottom: 0.3rem; color: #333; }
        form input, form textarea {
            width: 100%; padding: 0.7rem;
            border: 1px solid #d1d5db;
            border-radius: 8px;
            font-size: 1rem;
            font-family: inherit;
        }
        form textarea { resize: vertical; min-height: 90px; }

        .form-footer { margin-top: 1.5rem; text-align: center; }
        .form-footer button {
            background: #004aad;
            color: #fff;
            padding: 0.9rem 2rem;
            border: none; border-radius: 8px;
            font-size: 1.05rem; font-weight: 600;
            cursor: pointer;
        }
        .form-footer button:hover { background: #0066cc; }

        footer {
            background: #d1e4ff;
            color: #004aad;
            text-align: center;
            padding: 1rem;
            font-weight: 600;
            box-shadow: 0 -2px 4px rgb(0 0 0 / 0.1);
        }

        @media(max-width:768px) {
            #content-wrapper.shifted { margin-left:0; }
        }