/* Add these styles at the beginning of the file */
.title-container {
    text-align: center;
    margin-bottom: 2rem;
}

.paper-plane-icon {
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.paper-plane-icon path {
    fill: var(--primary-color);
}

:root {
    --primary-color: #ff0000;
    --text-color: #ffffff;
    --background-color: #000000;
    --background-start: #1a1a1a;
    --background-end: #000000;
    --star-color: #ff0000;
    --input-bg: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.05);
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--background-start), var(--background-end));
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    padding: 2rem 0;
}

.container {
    max-width: 800px;
}

.glass-container {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(255, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease-out;
}

.glass-container:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 0, 0.2);
    box-shadow: 0 12px 40px 0 rgba(255, 0, 0, 0.15);
}

.gradient-title {
    background: linear-gradient(45deg, #ff0000, #ff3333);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 2px 2px 4px rgba(255, 0, 0, 0.1);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gradient-title i {
    font-size: 0.9em;
    margin-left: 0.3rem;
    animation: float 3s ease-in-out infinite;
}

.subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    font-weight: 300;
}

h4 {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 2rem;
}

.form-label {
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.form-control, .form-select {
    background: var(--input-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.75rem;
    transition: all 0.3s ease;
    color: var(--text-color);
    -webkit-appearance: none;
    appearance: none;
}

.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 8.825L1.175 4 2.238 2.938 6 6.7l3.763-3.762L10.825 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    padding-right: 2.5rem;
}

.form-control:focus, .form-select:focus {
    background: var(--input-bg);
    box-shadow: 0 0 0 0.25rem rgba(255, 0, 0, 0.15);
    border-color: var(--primary-color);
    color: var(--text-color);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-select option {
    background-color: var(--background-color);
    color: var(--text-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 0.75rem;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #cc0000;
    transform: translateY(-2px);
}

/* Star Rating Styles */
.star-rating {
    display: flex;
    justify-content: center;
    gap: 1.5rem;  /* Increased gap */
    font-size: 2rem;
    padding: 1rem 0;
}

.star-rating i {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.star-rating i.fas {
    color: var(--star-color);
}

.star-rating i:hover,
.star-rating i:hover ~ i {
    color: var(--star-color);
}

/* Modal Styles */
.modal-content.glass-container {
    background: var(--glass-bg);
}

.modal-header, .modal-footer {
    border: none;
}

.modal-body {
    padding: 2rem;
}

/* Outros input field */
#outrosInput {
    margin-top: 1rem;
    display: none;
}

#outrosInput.show {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

/* Footer */
.footer-message {
    text-align: center;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-message:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
    animation: pulse 2s infinite;
}

/* Add these styles for the copyright text */
.copyright-text {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.copyright-text a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.copyright-text a:hover {
    color: #ff3333;
    text-decoration: none;
}


@media (max-width: 768px) {
    body {
        padding: 1rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .glass-container {
        padding: 1.5rem;
        margin: 0.5rem;
    }

    .star-rating {
        font-size: 1.75rem;
    }

    .gradient-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .form-label {
        font-size: 0.9rem;
    }

    .btn-primary {
        padding: 0.6rem;
    }
    .subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .star-rating {
        font-size: 1.5rem;
    }

    .glass-container {
        padding: 1rem;
    }

    .gradient-title {
        font-size: 1.25rem;
    }
}

/* Accessibility improvements */
.form-control:focus-visible,
.form-select:focus-visible,
.btn:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Animation keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal.show .modal-dialog {
    animation: fadeIn 0.3s ease-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}


/* PDF icon styles */
.fa-file-pdf {
    color: var(--primary-color);
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.fa-file-pdf:hover {
    transform: scale(1.1);
    color: #ff3333;
}

.list-group-item {
    background: var(--glass-bg);
    border: 1px solid rgba(255, 0, 0, 0.1);
    color: var(--text-color);
    transition: all 0.3s ease;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 10px !important;
}

.list-group-item:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0px);
    }
}