/* Burton Tech Logo Sprint App - CSS */

/* CSS Variables for Burton Tech Brand */
:root {
    --bt-gold: #FFD700;
    --bt-black: #000000;
    --bt-white: #FFFFFF;
    --bt-gray: #666666;
    --bt-light-gray: #F5F5F5;
    --bt-dark-gray: #333333;
    --bt-gold-hover: #E6C200;
    --bt-shadow: rgba(0, 0, 0, 0.1);
    --bt-border: rgba(255, 215, 0, 0.3);
    --success-green: #28A745;
    --warning-orange: #FD7E14;
    --danger-red: #DC3545;
    --info-blue: #007BFF;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--bt-dark-gray);
    background-color: var(--bt-light-gray);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.bt-header {
    background: linear-gradient(135deg, var(--bt-black) 0%, var(--bt-dark-gray) 100%);
    color: var(--bt-white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px var(--bt-shadow);
}

.bt-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.bt-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.scorpion-icon {
    font-size: 1.8rem;
    color: var(--bt-gold);
    animation: scorpionGlow 3s ease-in-out infinite alternate;
}

@keyframes scorpionGlow {
    from { text-shadow: 0 0 5px var(--bt-gold); }
    to { text-shadow: 0 0 15px var(--bt-gold), 0 0 25px rgba(255, 215, 0, 0.5); }
}

.bt-logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--bt-gold);
}

.bt-header h2 {
    font-size: 1rem;
    font-weight: 400;
    color: var(--bt-white);
    opacity: 0.9;
}

/* Timer Section in Header */
.timer-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.main-timer {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 215, 0, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--bt-border);
}

.timer-display {
    text-align: center;
}

.timer-display span {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--bt-gold);
    font-family: 'Courier New', monospace;
}

.timer-label {
    font-size: 0.7rem;
    color: var(--bt-white);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timer-controls {
    display: flex;
    gap: 0.5rem;
}

/* Navigation Styles */
.main-nav {
    background: var(--bt-white);
    border-bottom: 3px solid var(--bt-gold);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-tabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-tabs::-webkit-scrollbar {
    display: none;
}

.nav-tab {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--bt-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}

.nav-tab:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--bt-dark-gray);
}

.nav-tab.active {
    background: rgba(255, 215, 0, 0.1);
    color: var(--bt-black);
    border-bottom-color: var(--bt-gold);
    font-weight: 600;
}

.nav-tab i {
    margin-right: 0.5rem;
}

/* Main Content */
.main-content {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

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

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Card Styles */
.card {
    background: var(--bt-white);
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--bt-shadow);
    border: 1px solid rgba(255, 215, 0, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--bt-shadow);
}

.card-header {
    background: linear-gradient(135deg, var(--bt-gold) 0%, var(--bt-gold-hover) 100%);
    color: var(--bt-black);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.card-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.card-header i {
    margin-right: 0.5rem;
}

.card-body {
    padding: 1.5rem;
}

/* Team Status Card */
.team-info {
    margin-bottom: 1.5rem;
}

.team-info div {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.team-info span {
    color: var(--bt-gold);
    font-weight: 600;
}

.progress-overview h4 {
    margin-bottom: 1rem;
    color: var(--bt-dark-gray);
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: var(--bt-light-gray);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--bt-gold) 0%, var(--bt-gold-hover) 100%);
    border-radius: 5px;
    width: 0%;
    transition: width 0.5s ease;
}

.progress-text {
    text-align: center;
    font-weight: 600;
    color: var(--bt-dark-gray);
}

/* Current Phase Card */
.phase-info h4 {
    color: var(--bt-black);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.phase-info p {
    color: var(--bt-gray);
    margin-bottom: 1rem;
}

.phase-timer .timer-display {
    background: var(--bt-light-gray);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    margin-bottom: 1rem;
}

.phase-timer .timer-display span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bt-black);
    font-family: 'Courier New', monospace;
}

.phase-timer .timer-label {
    color: var(--bt-gray);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Quick Actions Card */
.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

/* Team Communication Card */
.notes-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.current-note-input textarea {
    width: 100%;
    min-height: 80px;
    padding: 1rem;
    border: 1px solid var(--bt-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
    margin-bottom: 1rem;
}

.current-note-input textarea:focus {
    outline: none;
    border-color: var(--bt-gold);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

.saved-notes-section h4 {
    color: var(--bt-black);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bt-gold);
    font-size: 1rem;
}

.notes-history {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid var(--bt-border);
    border-radius: 8px;
    background: var(--bt-light-gray);
}

.no-notes {
    padding: 2rem;
    text-align: center;
    color: var(--bt-gray);
    font-style: italic;
}

.saved-note {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    background: var(--bt-white);
    margin-bottom: 0.5rem;
    border-radius: 8px;
    margin: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.saved-note:last-child {
    margin-bottom: 0.5rem;
}

/* Note header styles moved to new section */

.note-timestamp {
    font-weight: 600;
    color: var(--bt-gold);
}

.note-phase {
    background: rgba(255, 215, 0, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    color: var(--bt-black);
}

.note-content {
    color: var(--bt-dark-gray);
    line-height: 1.4;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--bt-gold) 0%, var(--bt-gold-hover) 100%);
    color: var(--bt-black);
    border: 1px solid var(--bt-gold);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--bt-gold-hover) 0%, #D4AC00 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: var(--bt-gray);
    color: var(--bt-white);
    border: 1px solid var(--bt-gray);
}

.btn-secondary:hover {
    background: var(--bt-dark-gray);
    transform: translateY(-1px);
}

.btn-outline {
    background: var(--bt-white);
    color: var(--bt-dark-gray);
    border: 2px solid var(--bt-gold);
}

.btn-outline:hover {
    background: var(--bt-gold);
    color: var(--bt-black);
    transform: translateY(-1px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

/* Role Guide Styles */
.role-guide {
    max-width: 800px;
    margin: 0 auto;
}

.role-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--bt-white);
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--bt-shadow);
}

.role-header h2 {
    color: var(--bt-black);
    margin-bottom: 0.5rem;
}

.role-selector {
    background: var(--bt-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--bt-shadow);
    text-align: center;
}

.role-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.role-btn {
    padding: 1.5rem 1rem;
    background: var(--bt-white);
    border: 2px solid var(--bt-gold);
    border-radius: 12px;
    color: var(--bt-dark-gray);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.role-btn:hover {
    background: var(--bt-gold);
    color: var(--bt-black);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Role Content Styles */
.role-details {
    background: var(--bt-white);
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--bt-shadow);
    overflow: hidden;
}

.role-details .card-header {
    background: linear-gradient(135deg, var(--bt-black) 0%, var(--bt-dark-gray) 100%);
    color: var(--bt-gold);
}

.frames-section {
    margin-bottom: 2rem;
}

.frames-section h4 {
    color: var(--bt-black);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bt-gold);
}

.sentence-frame {
    background: var(--bt-light-gray);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--bt-gold);
    margin-bottom: 0.75rem;
    font-style: italic;
}

.sentence-frame strong {
    color: var(--bt-black);
}

.tool-tip {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--bt-border);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.tool-tip strong {
    color: var(--bt-black);
}

/* Workflow Styles */
.workflow-container {
    max-width: 900px;
    margin: 0 auto;
}

.workflow-header {
    text-align: center;
    margin-bottom: 2rem;
    background: var(--bt-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--bt-shadow);
}

.workflow-phases {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.phase-card {
    display: flex;
    align-items: center;
    background: var(--bt-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px var(--bt-shadow);
    border-left: 4px solid var(--bt-light-gray);
    transition: all 0.3s ease;
}

.phase-card.active {
    border-left-color: var(--bt-gold);
    background: rgba(255, 215, 0, 0.05);
}

.phase-card.completed {
    border-left-color: var(--success-green);
    background: rgba(40, 167, 69, 0.05);
}

.phase-number {
    width: 40px;
    height: 40px;
    background: var(--bt-light-gray);
    color: var(--bt-dark-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.phase-card.active .phase-number {
    background: var(--bt-gold);
    color: var(--bt-black);
}

.phase-card.completed .phase-number {
    background: var(--success-green);
    color: var(--bt-white);
}

.phase-content {
    flex: 1;
}

.phase-content h3 {
    color: var(--bt-black);
    margin-bottom: 0.5rem;
}

.phase-content p {
    color: var(--bt-gray);
    margin-bottom: 0.5rem;
}

.phase-time {
    font-size: 0.8rem;
    color: var(--bt-gold);
    font-weight: 600;
}

.phase-status {
    margin-left: 1rem;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.pending {
    background: var(--bt-light-gray);
    color: var(--bt-gray);
}

.status-badge.active {
    background: var(--bt-gold);
    color: var(--bt-black);
}

.status-badge.completed {
    background: var(--success-green);
    color: var(--bt-white);
}

/* Resources Styles */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.resource-card {
    background: var(--bt-white);
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--bt-shadow);
    overflow: hidden;
}

.resource-header {
    background: var(--bt-black);
    color: var(--bt-gold);
    padding: 1rem 1.5rem;
}

.resource-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.resource-body {
    padding: 1.5rem;
}

.resource-body h4 {
    color: var(--bt-black);
    margin-bottom: 0.75rem;
}

.resource-body ul {
    list-style-position: inside;
    margin-bottom: 1rem;
}

.resource-body li {
    margin-bottom: 0.5rem;
    color: var(--bt-gray);
}

.resource-body strong {
    color: var(--bt-black);
}

.tool-links, .worksheet-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tool-link, .worksheet-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--bt-light-gray);
    border: 1px solid var(--bt-border);
    border-radius: 8px;
    color: var(--bt-dark-gray);
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tool-link:hover, .worksheet-btn:hover {
    background: var(--bt-gold);
    color: var(--bt-black);
    border-color: var(--bt-gold);
    transform: translateY(-1px);
}

/* Assessment Styles */
.assessment-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.rubric-section {
    margin-bottom: 2rem;
}

.rubric-section h4 {
    color: var(--bt-black);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bt-gold);
}

.rubric-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rubric-options label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bt-light-gray);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rubric-options label:hover {
    background: rgba(255, 215, 0, 0.1);
}

.rubric-options input[type="radio"] {
    margin-top: 0.25rem;
}

.rubric-label {
    font-weight: 600;
    margin-right: 0.5rem;
    min-width: 80px;
}

.rubric-label.strong {
    color: var(--success-green);
}

.rubric-label.good {
    color: var(--bt-gold);
}

.rubric-label.needs-work {
    color: var(--warning-orange);
}

.rubric-total {
    background: var(--bt-black);
    color: var(--bt-gold);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-size: 1.2rem;
    margin-top: 1.5rem;
}

.reflection-section {
    margin-bottom: 2rem;
}

.reflection-section h4 {
    color: var(--bt-black);
    margin-bottom: 1rem;
}

.exit-ticket, .rationale-frames {
    background: var(--bt-light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--bt-gold);
}

.exit-ticket p, .frame-input p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.exit-ticket input, .frame-input input {
    border: none;
    border-bottom: 2px solid var(--bt-gold);
    background: transparent;
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
    color: var(--bt-black);
    min-width: 150px;
}

.exit-ticket input:focus, .frame-input input:focus {
    outline: none;
    border-bottom-color: var(--bt-black);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    padding: 2rem;
    box-sizing: border-box;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bt-white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    background: var(--bt-black);
    color: var(--bt-gold);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    color: var(--bt-gold);
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-body {
    padding: 2rem;
}

/* Team Setup Form */
.team-setup-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mode-selection {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.mode-option {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--bt-border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.mode-option:hover {
    border-color: var(--bt-gold);
    background: rgba(255, 215, 0, 0.05);
}

.mode-option input[type="radio"]:checked + .mode-label {
    color: var(--bt-black);
}

.mode-option:has(input[type="radio"]:checked) {
    border-color: var(--bt-gold);
    background: rgba(255, 215, 0, 0.1);
}

.mode-label strong {
    color: var(--bt-black);
}

.mode-label small {
    color: var(--bt-gray);
}

.setup-section {
    transition: all 0.3s ease;
}

.team-members {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.member-input {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--bt-light-gray);
    border-radius: 8px;
}

.member-name {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid var(--bt-border);
    border-radius: 4px;
    font-family: inherit;
}

.role-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.role-badge.pm {
    background: #FF6B6B;
    color: white;
}

.role-badge.dl {
    background: #4ECDC4;
    color: white;
}

.role-badge.tcl {
    background: #45B7D1;
    color: white;
}

.role-badge.pl {
    background: #96CEB4;
    color: white;
}

.team-members-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.75rem;
}

.member-card {
    background: var(--bt-light-gray);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--bt-gold);
}

.member-name-display {
    font-weight: 600;
    color: var(--bt-black);
    margin-bottom: 0.25rem;
}

.member-role-display {
    font-size: 0.8rem;
    color: var(--bt-gray);
}

.assessment-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.member-assigned {
    font-size: 0.9rem;
    color: var(--bt-white);
    opacity: 0.9;
    margin-top: 0.5rem;
}

.btn-success {
    background: var(--success-green) !important;
    color: var(--bt-white) !important;
    border-color: var(--success-green) !important;
}

.btn-warning {
    background: var(--warning-orange);
    color: var(--bt-white);
    border: 1px solid var(--warning-orange);
}

.btn-warning:hover {
    background: #E66A00;
    transform: translateY(-1px);
}

.btn-danger {
    background: var(--danger-red);
    color: var(--bt-white);
    border: 1px solid var(--danger-red);
}

.btn-danger:hover {
    background: #C82333;
    transform: translateY(-1px);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--bt-black);
}

.form-group input, .form-group select {
    padding: 0.75rem;
    border: 1px solid var(--bt-border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--bt-gold);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

/* Help Modal Styles */
.help-sections {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.help-section h4 {
    color: var(--bt-black);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bt-gold);
}

.help-section ul {
    list-style-position: inside;
    margin-left: 0;
}

.help-section li {
    margin-bottom: 0.5rem;
    color: var(--bt-gray);
}

.emergency-help {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--bt-border);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
}

/* Start Over Confirmation Modal */
.warning-message {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.warning-message p {
    margin-bottom: 1rem;
}

.warning-message ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.warning-message li {
    margin-bottom: 0.5rem;
}

.confirmation-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Phase Actions */
.phase-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Category Cards Styling */
.category-sections {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.category-group h4 {
    color: var(--bt-black);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bt-gold);
}

.category-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-card {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.category-card.area {
    background: #FF6B6B;
}

.category-card.tone {
    background: #4ECDC4;
}

.category-card.audience {
    background: #45B7D1;
}

.category-card.constraint {
    background: #96CEB4;
}

.category-card.selected {
    transform: scale(1.1);
    box-shadow: 0 0 0 3px var(--bt-gold);
}

.brief-example {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--bt-border);
    border-radius: 8px;
    padding: 1rem;
    font-style: italic;
    margin-top: 1rem;
}

.brief-example em {
    color: var(--bt-gold);
    font-weight: 600;
    font-style: normal;
}

.tool-link.featured {
    background: linear-gradient(135deg, var(--bt-gold) 0%, var(--bt-gold-hover) 100%);
    color: var(--bt-black);
    font-weight: 600;
    border: 2px solid var(--bt-gold);
}

.tool-link.featured:hover {
    background: linear-gradient(135deg, var(--bt-gold-hover) 0%, #D4AC00 100%);
    color: var(--bt-black);
}

/* Note Editing */
.note-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.note-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.note-btn, .note-action-btn {
    background: none;
    border: none;
    color: var(--bt-gray);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.note-btn:hover, .note-action-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--bt-black);
}

.note-btn.edit, .edit-note-btn {
    color: var(--bt-gold);
}

.note-btn.delete, .delete-note-btn {
    color: var(--danger-red);
}

.edit-note-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.edit-note-textarea {
    width: 100%;
    min-height: 80px;
    padding: 0.5rem;
    border: 1px solid var(--bt-border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
}

.note-editing {
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid var(--bt-gold);
}

.note-edit-input {
    width: 100%;
    min-height: 60px;
    padding: 0.5rem;
    border: 1px solid var(--bt-border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
    margin-bottom: 0.5rem;
}

.note-edit-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.notebook-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--bt-gold);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.notebook-link:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-1px);
}

/* Note Edit/Delete Styles */
.note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.note-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.note-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.note-action-btn {
    background: none;
    border: none;
    color: var(--bt-gray);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 0.8rem;
}

.note-action-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    color: var(--bt-black);
}

.edit-note-btn:hover {
    color: var(--info-blue);
}

.delete-note-btn:hover {
    color: var(--danger-red);
}

.note-edit-area {
    margin-top: 0.75rem;
}

.edit-note-textarea {
    width: 100%;
    min-height: 80px;
    padding: 0.75rem;
    border: 1px solid var(--bt-gold);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
    margin-bottom: 0.75rem;
}

.edit-note-buttons {
    display: flex;
    gap: 0.5rem;
}

/* Phase Actions Styles */
.phase-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Category Cards Styles */
.category-section {
    margin-bottom: 1.5rem;
}

.category-section h4 {
    color: var(--bt-black);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.category-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.category-card {
    background: var(--bt-gold);
    color: var(--bt-black);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.category-card:hover {
    background: var(--bt-gold-hover);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.category-card.selected {
    background: var(--bt-black);
    color: var(--bt-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.category-card.selected:hover {
    background: var(--bt-dark-gray);
}

.brief-example {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--bt-border);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    font-style: italic;
}

.brief-example em {
    color: var(--bt-gold);
    font-weight: 600;
    font-style: normal;
}

/* NotebookLM Link Styles */
.notebook-link {
    color: var(--info-blue) !important;
    font-weight: 600 !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.notebook-link:hover {
    color: var(--bt-black) !important;
    background: rgba(0, 123, 255, 0.1);
    padding: 0.5rem;
    border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .bt-header .container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .timer-section {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-timer {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-tabs {
        justify-content: flex-start;
    }
    
    .nav-tab {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
    }
    
    .role-buttons {
        grid-template-columns: 1fr;
    }
    
    .workflow-phases .phase-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .phase-number {
        margin-right: 0;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .assessment-sections {
        grid-template-columns: 1fr;
    }
    
    .modal {
        padding: 1rem;
    }
    
    .modal-content {
        max-height: 95vh;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .bt-logo h1 {
        font-size: 1.5rem;
    }
    
    .timer-display span {
        font-size: 1.2rem;
    }
    
    .nav-tab {
        padding: 0.5rem 0.75rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .phase-timer .timer-display span {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .bt-header, .main-nav, .timer-controls, .btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ccc;
        break-inside: avoid;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus Styles */
.btn:focus, .nav-tab:focus, input:focus, select:focus, textarea:focus {
    outline: 2px solid var(--bt-gold);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --bt-shadow: rgba(0, 0, 0, 0.3);
        --bt-border: rgba(255, 215, 0, 0.8);
    }
    
    .card {
        border: 2px solid var(--bt-gold);
    }
}