/* styles.css - Material-like modern look */
body {
    font-family: "Segoe UI", sans-serif;
    background-color: #f2f4f8;
    color: #333;
    margin: 0;
    padding: 16px;
}

.container {
    max-width: 800px;
    margin: auto;
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #2c3e50;
    margin-bottom: 24px;
    font-size: 28px;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #555;
}

input[type="text"],
input[type="email"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-size: 16px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    border-color: #6200ea;
    box-shadow: 0 0 0 3px rgba(98, 0, 234, 0.1);
    outline: none;
    background-color: #fff;
}

input[type="submit"],
button {
    background-color: #6200ea;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

input[type="submit"]:hover,
button:hover {
    background-color: #3700b3;
}

#total {
    font-size: 24px;
    color: #d35400;
    font-weight: bold;
    margin-top: 10px;
}

input[type="checkbox"] {
    accent-color: #6200ea;
    width: 18px;
    height: 18px;
    margin-top: 4px;
}

/* Table styling */
table {
    width: 100%;
    margin-top: 24px;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

th, td {
    text-align: left;
    padding: 14px;
    border-bottom: 1px solid #e0e0e0;
}

th {
    background-color: #6200ea;
    color: #fff;
    font-weight: 600;
}
.btn {
    padding: 10px 20px;
    background-color: #6200ea;
    color: white;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
	text-decoration: none;
}
.btn-mail:hover {
    background-color: #4500b5;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 16px;
    }

    table, thead, tbody, th, td, tr {
        display: block;
        width: 100%;
    }

    th {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    td {
        position: relative;
        padding-left: 50%;
        text-align: left;
    }

    td::before {
        content: attr(data-label);
        position: absolute;
        left: 16px;
        font-weight: bold;
        color: #6200ea;
    }
}
