/*
Theme Name: SalesCRM
Description: Motyw dla systemu SalesCRM z modułem Kalkulator Ofert
Author: Wojciech Michalik
Author URI: agencjatrawers.pl
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: salescrm
*/

/* ============================================
   GLOBALNE STYLE
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

html {
    scroll-behavior: smooth;
    margin: 0 !important;
    padding: 0;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #1a1a1a;
    line-height: 1.6;
}

.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
}

.site-content {
    margin: 0;
    padding: 0;
}

#content {
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #1a1a1a;
    font-weight: 700;
    margin: 0 0 16px 0;
}

a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: #61FF71;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: black;
    border-top: 1px solid #e5e7eb;
    padding: 24px 0;
    margin-top: 60px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    text-align: center;
}

.footer-text {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
    font-family: 'Manrope', sans-serif;
}

/* ============================================
   WORDPRESS ADMIN BAR - PRZENIESIENIE NA DÓŁ
   ============================================ */
#wpadminbar {
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    border-top: 1px solid #23282d;
    border-bottom: none;
}

/* Dostosuj body padding gdy admin bar jest na dole */
body.admin-bar {
    padding-bottom: 32px !important;
}

@media screen and (max-width: 782px) {
    body.admin-bar {
        padding-bottom: 46px !important;
    }

    #wpadminbar {
        position: fixed !important;
        bottom: 0 !important;
        top: auto !important;
    }
}