/* Brutalist Theme Styles */
body {
    background-color: #ffffff;
    font-family: 'Courier New', monospace;
}

.navbar {
    background-color: #000 !important;
    border-bottom: 5px solid #ff0000;
}

.brutalist-container {
    margin-top: 80px;
    border: 3px solid #000;
    padding: 20px;
    background-color: #f0f0f0;
}

.brutalist-column {
    border: 2px solid #000;
    padding: 20px;
    margin: 10px 0;
    background-color: #fff;
    box-shadow: 8px 8px 0 #000;
}

.brutalist-title {
    font-size: 2em;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 4px solid #000;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.menu-column {
    width: 280px;
    flex: 0 0 280px;
}

.content-column {
    flex: 1;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-list li {
    margin-bottom: 10px;
}

.menu-list a {
    display: block;
    padding: 10px;
    color: #000;
    text-decoration: none;
    border: 2px solid #000;
}

.menu-list a:hover {
    background-color: #000;
    color: #fff;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 #ff0000;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* Button Base */
.brutalist-button,
.brutalist-button-sm {
    background: #000 !important;
    color: #fff !important;
    border: 2px solid #000 !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    transition: all 0.2s !important;
    text-decoration: none !important;
    display: inline-block !important;
    cursor: pointer !important;
}

.brutalist-button:hover,
.brutalist-button-sm:hover {
    background: #fff !important;
    color: #000 !important;
    transform: translate(-4px, -4px) !important;
    box-shadow: 6px 6px 0 #ff0000 !important;
    text-decoration: none !important;
}

/* Button Sizes */
.brutalist-button {
    padding: 10px 20px !important;
    font-size: 1rem !important;
}

.brutalist-button-sm {
    padding: 5px 12px !important;
    font-size: 0.875rem !important;
}

/* Button States */
.brutalist-button:disabled,
.brutalist-button-sm:disabled {
    opacity: 0.65 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
    background: #000 !important;
    color: #fff !important;
}

.brutalist-button:disabled:hover,
.brutalist-button-sm:disabled:hover {
    background: #000 !important;
    color: #fff !important;
    transform: none !important;
    box-shadow: none !important;
}

.brutalist-button-secondary {
    background: #fff;
    color: #000;
    border: 2px solid #000;
    padding: 10px 20px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.2s;
    text-decoration: none;
}

.brutalist-button-secondary:hover {
    background: #000;
    color: #fff;
    transform: translate(-4px, -4px);
    box-shadow: 6px 6px 0 #ff0000;
}

/* Modal Styles */
.brutalist-modal {
    border: 3px solid #000 !important;
    border-radius: 0 !important;
    box-shadow: 8px 8px 0 #000 !important;
}

.brutalist-modal .modal-header {
    border-bottom: 2px solid #000;
    background: #000;
    color: #fff;
}

.brutalist-modal .modal-header .close {
    color: #fff;
    opacity: 1;
    text-shadow: none;
}

.brutalist-modal .modal-footer {
    border-top: 2px solid #000;
}

.brutalist-input {
    border: 2px solid #000 !important;
    border-radius: 0 !important;
    padding: 8px 12px !important;
    width: 100%;
    margin-bottom: 15px;
}

.brutalist-input:focus {
    outline: none;
    box-shadow: 4px 4px 0 #000;
}

.help-block {
    font-size: 0.9em;
    margin-top: 5px;
    color: #ff0000;
}

.has-error .brutalist-input {
    border-color: #ff0000;
}

/* Table Styles */
.brutalist-table {
    border: 2px solid #000 !important;
    margin-bottom: 0;
}

.brutalist-table th {
    background-color: #000 !important;
    color: #fff !important;
    border: 1px solid #fff !important;
    text-transform: uppercase;
    font-weight: bold;
    padding: 12px !important;
}

.brutalist-table td {
    border: 1px solid #000 !important;
    padding: 12px !important;
}

.brutalist-table tr:nth-child(even) {
    background-color: #f0f0f0;
}

.brutalist-link {
    color: #000;
    text-decoration: none;
    margin-right: 10px;
    font-weight: bold;
}

.brutalist-link:hover {
    color: #ff0000;
    text-decoration: none;
}

.brutalist-link.text-danger:hover {
    color: #ff0000;
}

/* Dropdown Menu Styles */
.brutalist-dropdown .dropdown-toggle {
    background: #000;
    color: #fff;
    border: 2px solid #000;
    padding: 5px 10px;
    text-transform: uppercase;
    font-weight: bold;
    min-width: 40px;
    height: 35px;
    line-height: 1;
}

.action-icon {
    display: inline-block;
    width: 20px;
    text-align: center;
    font-weight: bold;
    letter-spacing: 1px;
}

.brutalist-dropdown .dropdown-menu {
    background: #fff;
    border: 2px solid #000;
    border-radius: 0;
    box-shadow: 4px 4px 0 #000;
    padding: 0;
    margin-top: 5px;
}

.brutalist-dropdown .dropdown-item {
    padding: 8px 15px;
    border-bottom: 1px solid #000;
    font-weight: bold;
    text-transform: uppercase;
}

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

.brutalist-dropdown .dropdown-item:hover {
    background: #000;
    color: #fff;
}

.brutalist-dropdown .dropdown-item.text-danger:hover {
    background: #ff0000;
    color: #fff;
}

/* Login Page Styles */
.login-page {
    background-color: #f0f0f0;
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-box {
    width: 100%;
    max-width: 400px;
    background: white;
    padding: 30px !important;
}

.login-box .brutalist-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 30px;
}

.login-box .form-control {
    border: 2px solid #000;
    border-radius: 0;
    padding: 12px;
    margin-bottom: 15px;
    font-family: 'Courier New', monospace;
}

.login-box .form-control:focus {
    outline: none;
    border-color: #000 !important;
}

.login-box .btn-primary {
    background: #000;
    border: 2px solid #000;
    border-radius: 0;
    padding: 12px 30px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.2s;
    width: 100%;
}

.login-box .btn-primary:hover {
    background: #fff;
    color: #000;
    transform: translate(-4px, -4px);
    box-shadow: 6px 6px 0 #ff0000;
}

footer {
    background-color: #000 !important;
    color: #fff !important;
    border-top: 5px solid #ff0000;
}

footer .text-muted {
    color: #fff !important;
}

/* Status Badges */
.status-badge {
    padding: 5px 10px;
    font-weight: bold;
    text-transform: uppercase;
}
.status-active {
    background: #000;
    color: #fff;
}
.status-pending {
    background: #fff;
    color: #000;
    border: 2px solid #000;
}
.status-completed {
    background: #fff;
    color: #000;
    border: 2px solid #000;
    text-decoration: line-through;
}
.status-on-hold {
    background: #ff0000;
    color: #fff;
}

/* Progress Bar */
.brutalist-progress {
    height: 30px;
    background: #fff;
    border: 2px solid #000;
    border-radius: 0;
}
.brutalist-progress .progress-bar {
    background: #000;
    color: #fff;
    font-weight: bold;
}

/* Typography */
.brutalist-subtitle {
    font-size: 1.5em;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 2px solid #000;
    margin-bottom: 15px;
    padding-bottom: 5px;
}

/* List Styles */
.brutalist-list-item {
    padding: 8px;
    border-bottom: 1px solid #000;
    font-weight: bold;
}
.brutalist-list-item:last-child {
    border-bottom: none;
}

/* Alert Styles */
.brutalist-alert {
    border: 2px solid #000;
    background: #fff4e6;
    padding: 15px;
    position: relative;
    box-shadow: 4px 4px 0 #000;
}

.brutalist-alert strong {
    font-size: 1.1em;
    text-transform: uppercase;
}

.brutalist-alert ol {
    padding-left: 1.5rem;
}

.brutalist-alert ol li {
    margin-bottom: 0.25rem;
}

.brutalist-alert .bi-exclamation-triangle-fill {
    color: #ff0000;
    font-size: 1.2em;
}

.brutalist-alert .brutalist-button-sm {
    margin-left: 1.5rem;
}

.alert {
    margin-bottom: 0;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

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

.brutalist-alert {
    border: 2px solid #000;
    border-radius: 0;
    margin-bottom: 20px;
    padding: 15px;
    position: relative;
}

.brutalist-alert.alert-success {
    background: #fff;
    border-color: #000;
}

.brutalist-alert.alert-danger {
    background: #fff;
    border-color: #ff0000;
}

.brutalist-alert .btn-close {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* Generate Button Styles */
#generate-button {
    padding: 5px 15px;
    font-size: 0.9em;
}

.generate-loading {
    color: #666;
    font-size: 0.9em;
}

/* Project Edit Styles */
.project-edit {
    max-width: 1200px;
    margin: 0 auto;
}

/* Active Project Info */
.active-project-info {
    background: #fff;
    border: 2px solid #000;
    padding: 15px;
}

.active-project-info .project-title {
    font-weight: bold;
    font-size: 1.1em;
    word-break: break-word;
}

.active-project-info .brutalist-button-secondary.btn-sm {
    padding: 5px 10px;
    font-size: 0.8em;
}

/* Adjust subtitle for active project */
.active-project-info .brutalist-subtitle {
    font-size: 0.9em;
    margin-bottom: 8px;
    padding-bottom: 3px;
}
