﻿/* CSS */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #ebebeb
}


main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

.page-title {
    color: #000;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
}

.info-card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    margin-bottom: 1.5rem;
    border: none;
}

/*    .info-card:hover {
        transform: translateY(-5px);
    }*/

.customer-card {
    border-left: 4px solid #b0d0ef;
}

/*.printer-card {
    border-left: 4px solid #3498db;
}*/

.order-card {
    border-left: 4px solid #b0d0ef;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 600;
}

.card-icon {
    margin-right: 8px;
    vertical-align: middle;
}

.card-body dl {
    margin-bottom: 0;
}

.badge-info {
    background-color: #e9f7fe;
    color: #3498db;
    font-weight: 500;
}

/* FORMULÄR */

input[type='text'],
textarea {
    font-size: 16px;
}

#orderForm .toner-card {
    transition: all 0.2s ease;
    border: 1px solid rgba(0,0,0,0.125);
}

    #orderForm .toner-card:hover {
        box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
        border-color: rgba(0,0,0,0.2);
    }

/* Förbättra input-spinner styling */
#orderForm input[type="number"] {
    -moz-appearance: textfield; /* Firefox */
    font-size:16px;
}

    #orderForm input[type="number"]::-webkit-inner-spin-button,
    #orderForm input[type="number"]::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

/* Toner-färg box */
#orderForm .color-box {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    display: inline-block;
}

/* Responsiv styling för mindre skärmar */
@media (max-width: 576px) {
    #orderForm .card-body {
        padding: 0.75rem;
    }

    #orderForm .form-label {
        font-size: 0.9rem;
    }

    #orderForm .input-group {
        width: 100px;
    }
}

.form-check-input {
    border-color: black;
    width: 1.2em;
    height: 1.2em;
}