* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 900px;
}

h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 10px;
}

p {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

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

label {
    font-size: 0.9rem;
    color: #34495e;
    margin-bottom: 5px;
}

input, select {
    padding: 12px;
    border: 1px solid #ecf0f1;
    border-radius: 8px;
    font-size: 1rem;
    background: #f9fbfc;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus, select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

button {
    display: block;
    width: 100%;
    padding: 14px;
    background: #3498db;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

button:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.result {
    text-align: center;
    margin-top: 20px;
    padding: 20px;
    border-radius: 10px;
    background: #ecf0f1;
    display: none;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}

.result.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.result-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.result-text {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
}

.result.success .result-text {
    color: #27ae60;
}

.result.success {
    background: #dff0d8;
}

.result.error {
    background: #f2dede;
}

.result.error .result-text {
    color: #c0392b;
}