
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f4f7fa 0%, #e0e5ec 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.generator-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.generator-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 450px;
    transition: all 0.3s ease;
    text-align: center;
}

.generator-box:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

h2 {
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

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

label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-weight: 500;
    font-size: 16px;
    text-align: left;
}

label i {
    margin-right: 8px;
}

input {
    width: 80%;
    margin: 0 auto;
    padding: 18px 20px;
    border: none;
    border-radius: 12px;
    background: #f1f4f8;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05), 0 0 0 2px #3498db;
}

button {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 15px rgba(52, 152, 219, 0.3);
}

button i {
    margin-right: 8px;
}

button:hover {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
    box-shadow: 0 12px 20px rgba(52, 152, 219, 0.4);
    transform: translateY(-3px);
}

.generator-box p {
    margin-bottom: 12px;
    font-size: 14px;
    color: #666;
}

.generator-box a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.generator-box a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.generator-box img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
}

.error-message {
    color: red;
    font-size: 14px;
    display: block;
    margin-top: 8px;
    text-align: left;
}

#loading {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    border-radius: 8px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    font-size: 16px;
}

@media (max-width: 480px) {
    .generator-box {
        padding: 30px;
    }
    h2 {
        font-size: 24px;
    }
    input,
    button {
        font-size: 14px;
    }
}