* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 30px 20px;
    color: #333;
}

fieldset {
    background: white;
    border: none;
    border-radius: 15px;
    padding: 40px;
    margin: 0 auto 40px;
    max-width: 1000px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

legend h1 {
    color: #0c9b70;
    font-size: 42px;
    margin-bottom: 40px;
}

h3 {
    color: #555;
    margin: 20px 0 15px;
    font-size: 18px;
}

form table {
    width: 100%;
    margin: 20px 0;
}

form table td, form table th {
    padding: 15px;
    text-align: left;
}

form table th {
    background: #f8f9fa;
    color: #667eea;
    font-weight: 600;
    border-bottom: 2px solid #667eea;
}

input[type="text"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 5px rgba(102, 126, 234, 0.3);
}

input[type="checkbox"],
input[type="radio"] {
    margin-right: 8px;
    cursor: pointer;
}

label {
    cursor: pointer;
    color: #555;
}

textarea {
    resize: vertical;
    font-family: inherit;
}

input[type="submit"],
input[type="reset"] {
    padding: 12px 30px;
    margin: 5px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

input[type="submit"] {
    background: #667eea;
    color: white;
}

input[type="submit"]:hover {
    background: #764ba2;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

input[type="reset"] {
    background: #f0f0f0;
    color: #333;
}

input[type="reset"]:hover {
    background: #e0e0e0;
}
table[border="1"] {
    width: 100%;
    background: white;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
    max-width: 1000px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}
table[border="1"] th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px;
    font-weight: 600;
    text-align: left;
}
table[border="1"] td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
}
table[border="1"] tr:hover {
    background: #f8f9ff;
}
table[border="1"] a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s;
}
table[border="1"] a:hover {
    background: #667eea;
    color: white;
}
