/* 
 * Pronto Afeto - Cuidador
 * Baseado no design moderno do app_landing
 * Tema: Rosa/Roxo (#E93E8C / #7B3F9F)
 */

:root {
    --primary-color: #E93E8C;
    --secondary-color: #7B3F9F;
    --accent-color: #F7B6D1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: white;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Elementos decorativos de fundo */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-color);
    opacity: 0.4;
    animation: float 6s ease-in-out infinite;
}

.bg-circle-1 {
    width: 400px;
    height: 400px;
    top: -150px;
    right: -150px;
    animation-delay: 0s;
}

.bg-circle-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -100px;
    animation-delay: 2s;
}

.bg-circle-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 10%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

/* Auth pages specific */
.container-custom {
    position: relative;
    z-index: 1;
    max-width: 550px;
    padding: 2rem;
    margin: 0 auto;
}

.auth-card {
    background: white;
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    width: 100%;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.auth-card:hover::before {
    transform: scaleX(1);
}

.auth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}

.logo-img {
    width: 280px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
    animation: fadeInDown 0.8s ease-out;
}

.decorative-line {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 1.5rem auto 2rem;
    border-radius: 2px;
}

/* Navbar */
.navbar {
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

.navbar-brand i {
    font-size: 1.2em;
}

/* Cards */
.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* Forms */
.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid #e9ecef;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(233, 62, 140, 0.15);
    transform: translateY(-2px);
}

/* Buttons */
.btn-primary-custom {
    background: var(--primary-color);
    border: none;
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary-custom:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary-custom:hover {
    background: #d63580;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 30px rgba(233, 62, 140, 0.4);
}

.btn-outline-secondary {
    border: 2px solid #dee2e6;
    color: #6b7280;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #fef0f5;
    transform: translateY(-2px);
}

/* Tables */
.table {
    border-radius: 15px;
    overflow: hidden;
}

.table thead th {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    font-weight: 600;
    padding: 1rem;
}

.table tbody td {
    border: none;
    padding: 1rem;
    vertical-align: middle;
}

.table tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background: #fef0f5;
}

/* Badges */
.badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
}

.badge-aguardando {
    background: linear-gradient(135deg, #ffc107, #ff8f00);
    color: white;
}

.badge-aprovada {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.badge-rejeitada {
    background: linear-gradient(135deg, #dc3545, #e83e8c);
    color: white;
}

.badge-em-andamento {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

/* Profile Photo */
.profile-photo-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 4px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(233, 62, 140, 0.3);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 700;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .logo-img {
        width: 200px;
    }
    
    .auth-card {
        padding: 2rem 1.5rem;
        margin: 1rem;
        border-radius: 20px;
    }
    
    .decorative-line {
        width: 60px;
    }
    
    h4 {
        font-size: 1.3rem;
    }
    
    .bg-circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .bg-circle-2 {
        width: 200px;
        height: 200px;
    }
    
    .bg-circle-3 {
        width: 150px;
        height: 150px;
    }
    
    .card {
        margin: 1rem;
    }
    
    .profile-photo-container {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 576px) {
    .container-custom {
        padding: 1rem;
    }
    
    .auth-card {
        padding: 1.5rem 1rem;
    }
    
    .btn-primary-custom,
    .btn-outline-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .profile-photo-container {
        width: 80px;
        height: 80px;
    }
}

