/* Login e Cadastro */
.login-container,
.cadastro-container {
    min-height: calc(100vh - 400px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-box,
.cadastro-box {
    background: white;
    border-radius: 10px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    animation: fadeInUp 0.5s ease;
}

.cadastro-box {
    max-width: 700px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header,
.cadastro-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header i,
.cadastro-header i {
    font-size: 60px;
    color: #3498db;
    margin-bottom: 10px;
}

.login-header h2,
.cadastro-header h2 {
    color: #2c3e50;
    margin-bottom: 5px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
}

.form-group label i {
    margin-right: 8px;
    color: #3498db;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #3498db;
    outline: none;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 42px;
    cursor: pointer;
    color: #999;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-label input {
    margin-right: 8px;
}

.forgot-password {
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn-login,
.btn-cadastrar,
.btn-salvar {
    width: 100%;
    padding: 14px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-login:hover,
.btn-cadastrar:hover,
.btn-salvar:hover {
    background: #2980b9;
}

.btn-register {
    display: block;
    text-align: center;
    padding: 12px;
    background: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-register:hover {
    background: #1a252f;
}

.login-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.login-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #ddd;
}

.login-divider::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #ddd;
}

.login-divider span {
    background: white;
    padding: 0 10px;
    color: #999;
}

.login-link {
    text-align: center;
    margin-top: 20px;
}

.form-terms {
    margin: 20px 0;
}

/* Minha Conta */
.minha-conta-container {
    padding: 60px 0;
    background: #f8f9fa;
    min-height: calc(100vh - 400px);
}

.conta-header {
    text-align: center;
    margin-bottom: 40px;
}

.conta-header h1 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.conta-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

.conta-sidebar {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.user-info {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #ecf0f1;
    margin-bottom: 20px;
}

.user-avatar {
    color: #3498db;
    margin-bottom: 10px;
}

.user-info h3 {
    margin: 10px 0 5px;
    color: #2c3e50;
}

.user-info p {
    color: #7f8c8d;
    font-size: 14px;
}

.conta-menu ul {
    list-style: none;
    margin-bottom: 20px;
}

.conta-menu li {
    padding: 12px 15px;
    margin-bottom: 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    color: #7f8c8d;
}

.conta-menu li i {
    margin-right: 10px;
    width: 20px;
}

.conta-menu li:hover {
    background: #ecf0f1;
}

.conta-menu li.active {
    background: #3498db;
    color: white;
}

.btn-logout {
    display: block;
    text-align: center;
    padding: 12px;
    background: #e74c3c;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    margin-top: 20px;
}

.btn-logout:hover {
    background: #c0392b;
}

.conta-main {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.tab-content h2 {
    margin-bottom: 20px;
    color: #2c3e50;
    padding-bottom: 10px;
    border-bottom: 2px solid #ecf0f1;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
}

.empty-state i {
    color: #bdc3c7;
    margin-bottom: 20px;
}

.empty-state p {
    margin-bottom: 20px;
}

.pedidos-list {
    display: grid;
    gap: 20px;
}

.pedido-card {
    border: 1px solid #ecf0f1;
    border-radius: 8px;
    overflow: hidden;
}

.pedido-header {
    background: #f8f9fa;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ecf0f1;
}

.pedido-number {
    font-weight: bold;
    color: #2c3e50;
}

.pedido-date {
    color: #7f8c8d;
}

.pedido-body {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pedido-total {
    font-size: 18px;
    font-weight: bold;
    color: #e74c3c;
}

.pedido-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.status-pendente {
    background: #f39c12;
    color: white;
}

.status-pago {
    background: #27ae60;
    color: white;
}

.status-enviado {
    background: #3498db;
    color: white;
}

.status-entregue {
    background: #2ecc71;
    color: white;
}

.status-cancelado {
    background: #e74c3c;
    color: white;
}

.pedido-footer {
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid #ecf0f1;
}

.btn-detalhes {
    padding: 8px 20px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.endereco-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
}

.btn-editar-endereco {
    margin-top: 15px;
    padding: 8px 20px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .conta-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .login-box,
    .cadastro-box {
        padding: 30px 20px;
    }
    
    .pedido-body {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}