body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    background: #2e2e2e;
    color: white;
}

.panel {
    width: 600px;
    max-width: 90%;
    margin: 90px auto;
    padding: 40px;
    background: #353535;;
    border: none;
    border-radius: 16px;
    box-sizing: border-box;
    color: white;
    backdrop-filter: blur(4px);
}

.wide-panel {
    width: 1100px;
}

.login-panel {
    text-align: center;
}

h1, h2, p, label, strong {
    color: white;
}

a {
    color: white;
}

input[type=text],
input[type=password] {
    width: 100%;
    max-width: 430px;
    padding: 12px;
    font-size: 16px;
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 10px;
    background: rgba(255,255,255,0.15);
    color: white;
    box-sizing: border-box;
}

input::placeholder {
    color: rgba(255,255,255,0.7);
}

.buton {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 10px;
    background: #7E287A;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: 0.2s;
    margin: 4px;
}

.buton:hover {
    background: #692166;
    transform: translateY(-1px);
}

.buton.secondary {
    background: rgba(255,255,255,0.22);
    border: 1px solid rgba(255,255,255,0.7);
}

.buton.secondary:hover {
    background: rgba(255,255,255,0.32);
}

.buton.danger {
    background: rgba(255,255,255,0.08);
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
}

.buton.danger:hover {
    color: #ff5a5a;
    border-color: #ff5a5a;
}

.buton.danger:active {
    background: #c0392b;
    color: white;
    border-color: #c0392b;
}

.error {
    color: #ffdddd;
    font-weight: bold;
}

.actions {
    margin-top: 20px;
}

.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 18px;
    margin-top: 25px;
}

.project-card {
    border-radius: 14px;
    padding: 18px;
    background: rgba(0,0,0,0.18);
    overflow-wrap: anywhere;
}

.project-card h2 {
    margin-top: 0;
}

@media (max-width: 767px) {
    .panel {
        width: calc(100% - 24px);
        max-width: none;
        margin: 24px auto;
        padding: 22px;
    }

    .wide-panel {
        width: calc(100% - 24px);
    }

    .buton {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        margin: 6px 0;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .panel {
        margin-top: 60px;
    }
}

.status-active {
    color: #7bd88f;
}

.status-inactive {
    color: #ffb74d;
}