/* MRS Sklady - Custom CSS */

/* Základné nastavenia */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #4ca1af;
    --bg-light: #f5f7fa;
    --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --header-gradient: linear-gradient(135deg, #2c3e50 0%, #4ca1af 100%);
    --button-gradient: linear-gradient(135deg, #2c3e50 0%, #4ca1af 100%);
    --button-gradient-hover: linear-gradient(135deg, #1a252f 0%, #3a8a98 100%);
    --text-dark: #212529;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-dark);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Gradient pozadia pre karty */
.bg-primary-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
}

.bg-success-gradient {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
}

.bg-info-gradient {
    background: linear-gradient(135deg, #17a2b8 0%, #6f42c1 100%) !important;
}

.bg-warning-gradient {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%) !important;
}

.bg-danger-gradient {
    background: linear-gradient(135deg, #dc3545 0%, #e83e8c 100%) !important;
}

/* Removed sidebar styles */

/* Content štýly */
#content {
    width: 100%;
    min-height: 100vh;
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Dashboard karty */
.dashboard-card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    overflow: hidden;
    animation: fadeInUp 0.5s ease;
}

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

/* Activity feed styling */
.activity-feed {
    padding: 0;
}

.activity-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.activity-item:last-child {
    border-bottom: none;
}

/* Sticky Footer */
.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

footer {
    margin-top: auto !important;
}

/* Card styles matching auth */
.card-header {
    border-bottom: none;
    background: var(--header-gradient);
    color: white;
    padding: 0.75rem 1.25rem;
}

.card {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
}

.card-footer {
    background-color: rgba(0, 0, 0, 0.03);
    border-top: none;
}

.btn-primary {
    background: var(--button-gradient);
    border: none;
    padding: 10px 20px;
    font-weight: 500;
}

.btn-primary:hover {
    background: var(--button-gradient-hover);
}

/* Hover animation removed to prevent jumping */
.dashboard-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.activity-feed {
    max-height: 300px;
    overflow-y: auto;
}

.activity-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.activity-item:last-child {
    border-bottom: none;
}

/* Všeobecné štýly */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #1a2530;
    border-color: #1a2530;
}

.bg-gradient {
    background-image: linear-gradient(45deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%);
}

.table td, .table th {
    vertical-align: middle;
}

/* Animácie */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

/* Responzívnosť */
/* Removed responsive sidebar styles */
