/* Reset e Estilos Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f0fdf4; /* Um verde bem claro */
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Container do Login */
.login-container {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 1rem; /* Cantos mais arredondados */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
    margin: 1rem;
}

/* Logo (SVG) */
.logo {
    width: 48px;
    height: 48px;
    color: #16a34a; /* Verde esmeralda */
    margin: 0 auto 1rem;
}

/* Título */
h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

/* Estilos do Formulário */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Campos de Input */
.form-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-input:focus {
    outline: none;
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}

/* Botão de Entrar */
.submit-btn {
    background-color: #16a34a;
    color: #ffffff;
    border: none;
    padding: 0.9rem 1rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    background-color: #15803d; /* Verde mais escuro no hover */
}

/* Estilo para mensagens de feedback */
.message {
    margin-top: 1rem;
    font-size: 0.9rem;
    min-height: 1.2rem;
}

.message.success {
    color: #16a34a;
}

.resultado-frascos { 
    margin-top: 1rem;
    color: #9ca3af;
    
}

.message.error {
    color: #dc2626; /* Vermelho */
}

/*  Estilos para os botões de ação do carrinho */
.cart-actions {
    margin: 15px 0;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.cart-buttons {
    display: flex;
    gap: 10px;
}

.cart-action-button {
    padding: 8px 12px !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    background-color: #f0f0f0 !important;
    color: #333 !important;
    transition: background-color 0.2s, transform 0.1s !important;
    display: inline-block !important;
}

.cart-action-button:hover {
    background-color: #e0e0e0 !important;
    transform: translateY(-1px) !important;
}
.cart-action-button.primary {
    background-color: #28a745 !important;
    color: white !important;
}
.cart-action-button.primary:hover {
    background-color: #218838 !important;
}

/* Estilos para notificação de cópia */
.copy-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(40, 167, 69, 0.9);
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    z-index: 1000;
    animation: fadeInOut 2s ease-in-out forwards;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { opacity: 0; }
}