body {
    font-family: "Poppins", sans-serif;
    background: linear-gradient(135deg, #dbeafe, #fdf2f8);
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 900px;
    margin: 50px auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 30px;
    animation: fadeIn 0.8s ease-in-out;
}

.page-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: #1d4ed8;
}

.reg-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 5px;
    font-weight: 600;
    color: #374151;
}

input[type="text"],
input[type="email"],
input[type="number"] {
    padding: 12px;
    border: 2px solid #c7d2fe;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.2s ease-in-out;
}

input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
}

.btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background: #1d4ed8;
    transform: scale(1.05);
}

.btn-submit {
    width: 120px;
    margin-top: 10px;
    align-self: center;
}

.btn-del {
    background: #ef4444;
    padding: 6px 15px;
    font-size: 14px;
}

.btn-del:hover {
    background: #dc2626;
}

.table-wrap {
    margin-top: 30px;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
}

.data-table th {
    background-color: #3b82f6;
    color: white;
    padding: 12px;
    text-align: center;
    font-weight: 600;
}

.data-table td {
    border-bottom: 1px solid #e5e7eb;
    padding: 10px;
    text-align: center;
}

.data-table tr:nth-child(even) {
    background: #f9fafb;
}

.controls {
    text-align: center;
    margin-top: 25px;
}

.showcode-btn {
    background: #10b981;
}

.showcode-btn:hover {
    background: #059669;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .container {
        margin: 20px;
        padding: 20px;
    }

    .page-title {
        font-size: 24px;
    }

    .btn {
        font-size: 14px;
        padding: 8px 15px;
    }
}
