body {
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.container {
    background: white;
    padding: 30px;
    border-radius: 12px;
    width: 80%;
    max-width: 1000px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

h2 {
    color: #333;
    margin-bottom: 15px;
}

input {
    width: 100%;
    padding: 14px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    background: #007bff;
    color: white;
    transition: 0.3s;
    margin-top: 12px;
}

button:hover {
    background: #0056b3;
}

.user-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
    padding: 0 20px;
    list-style: none;
    width: calc(100% - 40px);
}

.user-item {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    transition: 0.3s;
    text-align: left;
}

.user-item:hover {
    transform: scale(1.02);
}

.user-info {
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}

.user-info span {
    display: block;
}

.delete-btn {
    background: #ff4d4d;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

.delete-btn:hover {
    background: #cc0000;
}
