/**
 * ============================================
 * FILE: assets/css/style.css
 * PURPOSE: Custom styles for DrTech application
 * VERSION: 4.0 - Fixed layout
 * ============================================
 */

/* GLOBAL STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* BUTTONS */
.btn-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    color: white;
}

/* CARDS */
.card-modern {
    background: white;
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.card-header-custom {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    border: none;
    font-weight: 600;
}

/* TABLES */
.table-custom {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.table-custom thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.table-custom thead th {
    padding: 15px;
    font-weight: 500;
    border: none;
}

.table-custom tbody tr:hover {
    background-color: #f8f9fa;
}

.table-custom tbody td {
    padding: 12px 15px;
    vertical-align: middle;
}

/* BADGES */
.badge {
    padding: 6px 12px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 12px;
}

/* STATS CARDS */
.stat-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: inline-block;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* DASHBOARD HEADER */
.dashboard-header {
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.welcome-text {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.welcome-subtext {
    color: #666;
    font-size: 14px;
}

/* PRODUCT CARDS */
.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-body {
    padding: 20px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
    margin: 15px 0;
}

.product-category {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f0f0;
    border-radius: 50px;
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

/* WHATSAPP BUTTON */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    transition: transform 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    color: white;
}

/* FORMS */
.form-control, .form-select {
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

/* FOOTER */
footer {
    background: #2d3748;
    color: white;
    margin-top: 30px;
    padding: 20px 0;
    width: 100%;
    border-radius: 10px;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

footer a:hover {
    color: white;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .stat-number {
        font-size: 24px;
    }
    
    .welcome-text {
        font-size: 20px;
    }
    
    .product-price {
        font-size: 20px;
    }
}

/* UTILITY CLASSES */
.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.text-white {
    color: white;
}

.bg-white {
    background: white;
}

/**
 * ============================================
 * END OF FILE: assets/css/style.css
 * ============================================
 */