/* Add Property Button Styles */

/* Primary Add Property Button */
.btn-add-property {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
}

.btn-add-property:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.btn-add-property:active {
    transform: translateY(0);
}

.btn-add-property:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Large Button Variant */
.btn-add-property.btn-lg {
    padding: 15px 30px;
    font-size: 16px;
}

/* Floating Action Button */
.btn-floating.btn-add-property {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    padding: 0;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.6);
}

.btn-floating.btn-add-property:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.8);
}

/* Add Property Card */
.add-property-card {
    display: block;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border: 2px solid #667eea;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    cursor: pointer;
}

.add-property-card i {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 15px;
}

.add-property-card h3 {
    color: #333;
    margin: 10px 0;
    font-size: 18px;
    font-weight: 600;
}

.add-property-card p {
    color: #666;
    margin: 8px 0 0 0;
    font-size: 14px;
}

.add-property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    border-color: #764ba2;
    color: #333;
    text-decoration: none;
}

.add-property-card:hover i {
    color: #764ba2;
    transform: scale(1.1);
}

/* Navbar Integration */
.navbar .btn-add-property {
    margin: 0 10px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .btn-floating.btn-add-property {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .add-property-card {
        padding: 20px;
    }
    
    .add-property-card i {
        font-size: 36px;
    }
    
    .add-property-card h3 {
        font-size: 16px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .add-property-card {
        background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
        border-color: #667eea;
        color: #e2e8f0;
    }
    
    .add-property-card h3 {
        color: #e2e8f0;
    }
    
    .add-property-card p {
        color: #cbd5e0;
    }
}

/* Loading State */
.btn-add-property:disabled,
.btn-add-property[disabled] {
    pointer-events: none;
}

.btn-add-property .spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}

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