.icon-container {
    padding: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sparkles-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: #3b82f6;
}

.form-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group:last-of-type {
    margin-bottom: 2rem;
}

.gen-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    margin-bottom: 0.5rem;
}

.input,
.textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    background: white;
    transition: all 0.2s ease;
}

.input:focus,
.textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input {
    height: 3rem;
}

.textarea {
    min-height: 7.5rem;
    resize: none;
    font-family: inherit;
}

.input::placeholder,
.textarea::placeholder {
    color: #94a3b8;
}

.generate-button {
    width: 100%;
    height: 3rem;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.2s ease;
}

.generate-button:hover:not(:disabled) {
    background: #2563eb;
}

.generate-button:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

.spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.results-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    padding: 2rem;
    margin-top: 2rem;
    display: none;
}

.results-card.show {
    display: block;
}

.results-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 1.5rem;
}

.meta-item {
    margin-bottom: 1rem;
}

.meta-item:last-child {
    margin-bottom: 0;
}

.meta-generatedheader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    flex-direction: row;
}

.meta-label {
    font-size: 17px;
    font-weight: 500;
    color: #334155;
}

.copy-button {
    background: none;
    border: solid;
    color: #3b82f6;
    font-size: 0.75rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    transition: color 0.2s ease;
}

.copy-button:hover {
    color: #2563eb;
}

.meta-content {
    padding: 1rem;
    background: rgba(248, 250, 252, 0.5);
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
}

.meta-text {
    color: #334155;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

.copied-message {
    background: #10b981;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: none;
}

.copied-message.show {
    transform: translateX(0);
    display: block;
    margin-top: 3%;
}

@media (max-width: 640px) {

    .form-card,
    .results-card {
        padding: 1.5rem;
    }

    .meta-generatedheader {
        align-items: flex-start;
        gap: 0.25rem;
    }
    .copied-message.show {
    margin-top: 10%;
}
}

label.gen-label {
    color: black;
}

#generateBtn img {
    width: 20px;
    height: 20px;
}

.generate-button #buttonTextmeta {
    display: flex;
    flex-direction: row-reverse;
}