.rnq-container {
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
    font-family: "Cairo", sans-serif;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 30px;
    color: #000;
}

.rnq-title {
    font-size: 1.6rem;
    color: #40905c;
    margin-bottom: 20px;
    font-weight: 700;
}

.rnq-input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 2px solid #40905c;
    font-size: 1rem;
    resize: none;
    outline: none;
    transition: all 0.3s ease;
}

.rnq-input:focus {
    box-shadow: 0 0 0 3px rgba(64,144,92,0.2);
}

.rnq-btn {
    background: #40905c;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px 5px;
}

.rnq-btn:hover {
    background: #2e6f45;
}

.rnq-result {
    margin-top: 20px;
    text-align: center;
}

.rnq-output {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 20px;
    font-size: 1.2rem;
    color: #222;
    line-height: 1.8;
    text-align: center;
    font-weight: 500;
}

.rnq-line {
    margin: 8px 0;
}

.rnq-verb {
    font-weight: 700;
    color: #40905c;
    margin: 0 5px;
}

.rnq-fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

.rnq-fade-out {
    animation: fadeOut 0.4s ease-in-out forwards;
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(10px);}
    to {opacity: 1; transform: translateY(0);}
}

@keyframes fadeOut {
    from {opacity: 1; transform: translateY(0);}
    to {opacity: 0; transform: translateY(10px);}
}
