:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --bg-light: #f8f9fa;
}

html, body {
    min-height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.navbar-brand {
    font-size: 1.4rem;
}

.card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 600;
}

.btn {
    border-radius: 0.5rem;
}

.table th {
    font-weight: 600;
    background-color: #f8f9fa;
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
}

/* Estilos para la tarjeta Scrum imprimible */
.scrum-card {
    background: #fff;
    border: 2px solid #000;
    padding: 1.5rem;
    max-width: 100%;
}

.scrum-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #000;
}

.scrum-card-title {
    font-style: italic;
    font-weight: bold;
    font-size: 1.5rem;
    margin: 0;
}

.scrum-field {
    border: 2px solid #000;
    min-height: 2rem;
    padding: 0.25rem 0.5rem;
    display: inline-block;
}

.scrum-field-large {
    width: 100%;
    min-height: 4rem;
    margin-top: 0.5rem;
}

.scrum-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

.scrum-table th,
.scrum-table td {
    border: 2px solid #000;
    padding: 0.75rem;
    vertical-align: top;
}

.scrum-table th {
    background-color: #fff;
    text-align: center;
    font-weight: bold;
}

.activity-type {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.activity-type .option {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.activity-type .box {
    min-width: 2rem;
    height: 1.5rem;
    border: 2px solid #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: monospace;
    font-weight: bold;
    font-size: 0.85rem;
    line-height: 1;
    color: #000;
    background-color: #fff;
    padding: 0 0.25rem;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

@media print {
    body {
        background: #fff;
    }

    nav, footer, .no-print {
        display: none !important;
    }

    main {
        padding: 0 !important;
    }

    .scrum-card {
        border: 2px solid #000;
        box-shadow: none;
    }

    .container {
        max-width: 100% !important;
    }
}
