/* Founder Comments Styling */
.founder-comments-area {
    margin-top: 4rem;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid #e5e7eb;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

/* Header Section */
.founder-comments-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.founder-comments-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}

.founder-comments-description {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* Comments List Section */
.founder-comments-list-section {
    margin-bottom: 3rem;
}

.founder-comments-count {
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    border-left: 4px solid var(--yc-orange);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.founder-comment-list .comment {
    margin-bottom: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: all 0.3s ease;
}

.founder-comment-list .comment:hover {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.founder-comment-list .children {
    list-style: none;
    padding-left: 2rem;
    margin-top: 1rem;
    border-left: 3px solid var(--yc-orange);
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

/* Comment Body */
.founder-comment-body {
    padding: 1.5rem;
}

.founder-comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.founder-comment-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.founder-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid var(--yc-orange);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.founder-author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.founder-author-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #2c3e50;
}

.founder-author-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.founder-author-name a:hover {
    color: #111827;
}

.founder-comment-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.founder-comment-time {
    font-weight: 500;
}

.founder-edit-link a {
    color: var(--yc-orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
}

.founder-edit-link a:hover {
    text-decoration: underline;
}

.founder-comment-actions {
    display: flex;
    align-items: center;
}

.founder-reply-link a {
    background: var(--yc-orange);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.3);
}

.founder-reply-link a:hover {
    background: #e67e22;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.4);
}

/* Comment Content */
.founder-comment-content {
    margin-top: 1rem;
}

.founder-comment-awaiting {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    color: #856404;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.awaiting-icon {
    font-size: 1.2rem;
}

.founder-comment-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #495057;
}

.founder-comment-text p:last-child {
    margin-bottom: 0;
}

/* Comment Form Section */
.founder-comment-form-section {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    margin: 0 auto;
    max-width: 100%;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.founder-comment-form-header {
    text-align: center;
    margin-bottom: 2rem;
    width: 100%;
}

.founder-comment-form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1.5rem;
}

/* Comment Prompts */
.founder-comment-prompts {
    margin-bottom: 2rem;
}

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

/* Comment Type Section */
.comment-type-section {
    margin-bottom: 1.5rem;
}

.comment-type-instruction {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 1rem 0;
    text-align: left;
}

.comment-type-note {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 1rem 0 0 0;
    line-height: 1.4;
    text-align: left;
}

/* Comment Type Selectors */
.comment-type-selectors {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0;
    justify-content: center;
}

.comment-type-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #111827;
    border-radius: 6px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
    user-select: none;
    min-height: 36px;
}

.comment-type-option:hover {
    background: #1f2937;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.comment-type-option.selected {
    background: var(--yc-orange);
    border-color: var(--yc-orange);
    box-shadow: 0 3px 12px rgba(255, 165, 0, 0.3);
}

.comment-type-option.selected:hover {
    background: #e67e22;
    border-color: #e67e22;
}

.type-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    fill: currentColor;
    color: #ffffff;
}

.type-text {
    font-weight: 500;
    color: #ffffff;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* Form Styling */
.founder-comment-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 100%;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

.founder-form-field {
    display: flex;
    flex-direction: column;
}

.founder-comment-form .comment-form-author,
.founder-comment-form .comment-form-email,
.founder-comment-form .comment-form-url {
    display: inline-block;
    width: calc(33.333% - 10px);
    margin-right: 15px;
    vertical-align: top;
}

.founder-comment-form .comment-form-url {
    margin-right: 0;
}

@media (max-width: 768px) {
    .founder-comment-form .comment-form-author,
    .founder-comment-form .comment-form-email,
    .founder-comment-form .comment-form-url {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
}

.founder-comment-form .comment-form-comment {
    width: 100%;
    clear: both;
}

.founder-comment-field {
    grid-area: comment;
    display: flex;
    flex-direction: column;
}

.founder-comment-notes {
    grid-area: notes;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

.privacy-note {
    font-weight: 500;
}

.founder-comment-label,
.founder-form-field label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.required {
    color: #dc3545;
    font-weight: 700;
}

.founder-form-field input,
.founder-comment-field textarea {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #fff;
    font-family: inherit;
}

.founder-form-field input:focus,
.founder-comment-field textarea:focus {
    outline: none;
    border-color: var(--yc-orange);
    box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.1);
}

.founder-comment-field textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.founder-comment-field textarea::placeholder {
    color: #adb5bd;
    font-style: italic;
}

.founder-submit-btn {
    grid-area: submit;
    justify-self: start;
    background: var(--yc-orange);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.2);
    text-transform: none;
    letter-spacing: 0;
}

.founder-submit-btn:hover {
    background: #e67e22;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
}

.founder-submit-btn:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .founder-comments-area {
        margin-top: 2rem;
        padding: 1.5rem;
    }
    
    .founder-comments-title {
        font-size: 1.8rem;
    }
    
    .founder-comments-description {
        font-size: 1rem;
    }
    
    .comment-prompt-grid {
        grid-template-columns: 1fr;
    }
    
    .founder-comment-form {
        grid-template-columns: 1fr;
        grid-template-areas:
            "author"
            "email"
            "url"
            "comment"
            "notes"
            "submit";
    }
    
    .founder-comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .founder-comment-actions {
        align-self: flex-end;
    }
    
    .comment-type-section {
        margin-bottom: 1rem;
    }
    
    .comment-type-instruction {
        font-size: 0.9rem;
        text-align: center;
    }
    
    .comment-type-note {
        font-size: 0.75rem;
        text-align: center;
    }
    
    .comment-type-selectors {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .comment-type-option {
        padding: 0.625rem 1rem;
        justify-content: center;
    }
    
    .comment-type-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
    
    .comment-type-badge .type-label {
        display: none;
    }
    
    .founder-comment .comment-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .founder-comment .author-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

@media (max-width: 480px) {
    .founder-comments-area {
        padding: 1rem;
    }
    
    .founder-comment-form-section {
        padding: 1.5rem;
    }
    
    .founder-avatar {
        width: 48px;
        height: 48px;
    }
    
    .founder-comment-body {
        padding: 1rem;
    }
}

/* Comment Type Badge */
.comment-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.6rem;
    background: #fff4e6;
    color: var(--yc-orange);
    border: 1px solid #ffe8cc;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.comment-type-badge .comment-type-icon {
    /* Width and height are removed to prevent clipping the 14x14 SVG */
    vertical-align: middle;
    filter: brightness(0);
}

.comment-type-badge .type-label {
    white-space: nowrap;
    line-height: 1;
}

/* Comment Header Layout */
.founder-comment .comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.founder-comment .author-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.founder-comment .author-info .fn {
    font-weight: 600;
    color: #111827;
}

/* No Comments Message */
.no-comments {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    color: #6c757d;
    font-style: italic;
    border: 1px solid #e9ecef;
}