/* Project Detail Page Styles */

.project-detail-section {
    padding: 4rem 0;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.back-button:hover {
    color: #1a56db;
}

.project-detail-container {
    background-color: var(--white);
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
    padding: 2rem;
}

.project-detail-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    gap: 1rem;
    color: var(--secondary-color);
    font-size: 1.25rem;
}

.project-header {
    border-bottom: 1px solid #E5E7EB;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.project-title-large {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--black);
}

.project-status {
    display: inline-block;
    background-color: #10B981;
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.project-summary {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.project-sections {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

@media (max-width: 767px) {
    .project-sections {
        grid-template-columns: 1fr;
    }
}

.project-main-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-section {
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--black);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #E5E7EB;
}

.section-content {
    font-size: 1rem;
    line-height: 1.6;
}

.rich-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.criteria-box {
    background-color: #F9FAFB;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.criteria-item-large {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.criteria-icon {
    color: var(--primary-color);
}

.timeline-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.timeline-marker {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-dot {
    width: 1rem;
    height: 1rem;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.timeline-line {
    width: 2px;
    height: 100%;
    background-color: #E5E7EB;
    margin-top: 0.25rem;
}

.timeline-content {
    flex: 1;
}

.timeline-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-date {
    color: var(--secondary-color);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.timeline-description {
    font-size: 0.875rem;
}

.project-side-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.details-box {
    background-color: #F9FAFB;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #E5E7EB;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 500;
    color: var(--dark-gray);
}

.detail-value {
    font-weight: 600;
}

.team-member {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.team-member:last-child {
    margin-bottom: 0;
}

.team-photo {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
}

.team-info {
    flex: 1;
}

.team-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.875rem;
    color: var(--secondary-color);
}

.cta-box {
    background-color: #EFF6FF;
    border: 1px solid #DBEAFE;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
}

.cta-text {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.apply-button {
    display: block;
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}

.apply-button:hover {
    background-color: #1a56db;
    transform: translateY(-2px);
}

.form-group .textarea {
    resize: vertical;
    min-height: 80px;
}
