/* Body and overall layout */
body {
    font-family: 'Roboto', Arial, sans-serif;
    background: linear-gradient(135deg, #f8f9fa, #e3f2fd);
    margin: 0;
    display: flex;
    justify-content: center;
    padding: 50px 10px;
}

.main-container {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

/* Logo */
.logo-big {
    width: 400px;       /* Large hero logo */
    height: auto;
    margin-bottom: 30px;
}

/* Header text */
header {
    text-align: center;
    margin-bottom: 50px; /* Space below header */
}

header p {
    font-size: 1.3rem;
    color: #5f6368;
    margin-top: 10px;
}

/* Form: input + button */
form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px; /* Space between input and button */
    flex-wrap: wrap; /* Wrap on smaller screens */
}

#search-input {
    flex: 1 1 300px; /* Growable input, min width 300px */
    padding: 15px 20px;
    border-radius: 50px;
    border: 1px solid #ccc;
    font-size: 18px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    outline: none;
    transition: 0.2s all;
}

#search-input:focus {
    border-color: #4285f4;
    box-shadow: 0 4px 10px rgba(66,133,244,0.3);
}

/* Generate button */
.generate-btn {
    padding: 15px 25px;
    border: none;
    border-radius: 50px;
    background: #4285f4;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: 0.2s all;
}

.generate-btn:hover {
    background: #357ae8;
    box-shadow: 0 4px 10px rgba(66,133,244,0.3);
}

/* Result container and card */
#result-container {
    margin-top: 40px;
    position: relative;
}

#copy-btn {
    position: absolute;
    right: 0;
    top: -50px;
    padding: 10px 15px;
    background-color: #34a853;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s all;
}

#copy-btn:hover {
    background-color: #2c8a42;
}

#result-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: left;
}

/* Text inside result card */
pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 16px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .logo-big {
        width: 250px;
    }

    #search-input {
        flex: 1 1 100%;
        margin-bottom: 10px;
    }

    .generate-btn {
        width: 100%;
    }
}
