/* Estilos para a página de adicionar propriedade */
.property-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.property-card .card-body {
    padding: 2rem;
}

.property-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.property-subtitle {
    color: #b4901e;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.welcome-section {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    color: white;
    text-align: center;
}

.welcome-section h5 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.welcome-section p {
    margin-bottom: 0;
    opacity: 0.9;
}

.progress-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid #007bff;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.step {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #b4901e;
}

.step.completed {
    color: #28a745;
}

.step.active {
    color: #b4901e;
    font-weight: 600;
}

.step-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

.step.completed .step-icon {
    background: #28a745;
    color: white;
}

.step.active .step-icon {
    background: #b4901e;
    color: white;
}

.step-icon {
    background: #e9ecef;
    color: #b4901e;
}

.progress {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, #28a745 0%, #023f20100%);
    transition: width 0.3s ease;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s ease-in-out;
}

.form-control:focus, .form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-control.is-invalid, .form-select.is-invalid {
    border-color: #dc3545;
}

.text-danger {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.hectare-info {
    background: #e8f4f8;
    border-radius: 6px;
    padding: 0.75rem;
    margin-top: 0.5rem;
    border-left: 3px solid #17a2b8;
}

.hectare-info small {
    color: #495057;
    font-size: 0.85rem;
}

/* Botões */
.btn-primary {
    background: linear-gradient(135deg, #023f200%, #1a5a2f 100%);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.2s ease-in-out;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1a5a2f 0%, #004085 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.btn-outline-secondary {
    border: 2px solid #b4901e;
    color: #b4901e;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.btn-outline-secondary:hover {
    background-color: #b4901e;
    border-color: #b4901e;
    transform: translateY(-1px);
}

/* Skip section */
.skip-section {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.skip-section small {
    color: #856404;
    font-size: 0.9rem;
}

/* Animações */
.property-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

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

/* Estados visuais */
.required-field::after {
    content: " *";
    color: #dc3545;
}

/* Loading state */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 1rem;
    height: 1rem;
    top: 50%;
    left: 50%;
    margin-left: -0.5rem;
    margin-top: -0.5rem;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .property-card .card-body {
        padding: 1.5rem;
    }
    
    .welcome-section,
    .progress-section {
        padding: 1rem;
    }
    
    .progress-steps {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .step {
        font-size: 0.8rem;
    }
}