/* Asana-Style Task Panel */

.task-panel-topbar {
    padding: 16px 24px;
    border-bottom: 1px solid #35383b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.task-panel-actions-top {
    display: flex;
    gap: 8px;
}

.btn-icon-panel {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    border: none;
    background: transparent;
    color: #9aa0a6;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.btn-icon-panel:hover {
    background: rgba(255,255,255,0.05);
    color: #e8eaed;
}

/* Title Section */
.panel-title-section {
    padding: 0 24px 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.task-checkbox-large {
    width: 24px;
    height: 24px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 4px;
}

.task-checkbox-large i {
    font-size: 24px;
}

.panel-title-input {
    flex: 1;
    font-size: 22px;
    font-weight: 600;
    background: transparent;
    border: none;
    color: #e8eaed;
    padding: 4px 0;
    outline: none;
}

.panel-title-input::placeholder {
    color: #5a5c5e;
}

/* Main Grid Layout */
.panel-main-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
    padding: 0 24px;
}

.panel-left-col {
    min-width: 0;
}

.panel-right-col {
    border-left: 1px solid #35383b;
    padding-left: 24px;
}

/* Sections */
.panel-section {
    margin-bottom: 32px;
}

.panel-section-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #9aa0a6;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

/* Right Column Fields */
.panel-field {
    margin-bottom: 16px;
}

.panel-field-label {
    font-size: 12px;
    color: #9aa0a6;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.panel-field-label i {
    font-size: 13px;
    width: 14px;
}

.form-control-panel,
.form-select-panel {
    width: 100%;
    padding: 8px 10px;
    background: transparent;
    border: 1px solid #35383b;
    border-radius: 4px;
    color: #e8eaed;
    font-size: 13px;
    transition: all 0.2s;
}

.form-control-panel:hover,
.form-select-panel:hover {
    border-color: #4a4c4e;
    background: rgba(255,255,255,0.02);
}

.form-control-panel:focus,
.form-select-panel:focus {
    outline: none;
    border-color: #f06a6a;
    background: #1d1f21;
}

.form-control-panel:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Comments */
.comments-list {
    margin-top: 16px;
}

.comment-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.comment-avatar {
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
    min-width: 0;
}

.comment-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
}

.comment-header strong {
    font-size: 13px;
    color: #e8eaed;
    font-weight: 600;
}

.comment-time {
    font-size: 11px;
    color: #9aa0a6;
}

.comment-text {
    font-size: 13px;
    color: #e8eaed;
    line-height: 1.6;
}

.add-comment {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

/* Description Editor Styling */
.description-editor {
    min-height: 150px;
}

.note-editor {
    background: transparent !important;
}

.note-editable {
    background: #1d1f21 !important;
    color: #e8eaed !important;
    min-height: 150px !important;
}

