* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    color: #333;
}



/* Cards Grid */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

    .card:hover {
        transform: translateY(-12px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }

    .card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(90deg, #3498db, #2ecc71);
        border-radius: 16px 16px 0 0;
    }

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
}

.card h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: #2c3e50;
}

.card p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.back-link {
    display: block;
    margin: 20px auto;
    width: fit-content;
    color: #3498db;
    text-decoration: none;
    font-size: 1.1rem;
}

    .back-link:hover {
        text-decoration: underline;
    }

.form-section {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.form-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

input[type="text"] {
    padding: 12px 15px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 220px;
    transition: border 0.3s;
}

    input[type="text"]:focus {
        outline: none;
        border-color: #3498db;
        box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    }

button {
    padding: 12px 30px;
    font-size: 1rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

    button:hover {
        background: #2980b9;
    }

.table-section {
    padding: 30px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

tr:hover {
    background: #f1f8ff;
}

