/* بسم الله الرحمن الرحيم
// Bismillah Hir Rahman Nir Raheem
// In the name of Allah, The Most Gracious, The Most Merciful
*/



/* Enhanced Status System */
.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-needed {
    background: #fef3c7;
    color: #92400e;
}

.status-claim-it {
    background: #dbeafe;
    color: #1e40af;
}

.status-wip {
    background: #e0e7ff;
    color: #4338ca;
}

.status-beta {
    background: #d1fae5;
    color: #065f46;
}

.status-approved {
    background: #dcfce7;
    color: #166534;
}

/* Ideation Cards */
.ideation-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    color: #111827;
    height: 100%;
    transition: all 300ms ease;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.ideation-card:hover {
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.ideation-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.ideation-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #8b5cf6;
}

.ideation-content {
    flex: 1;
    margin-bottom: 1rem;
}

.ideation-description {
    font-size: var(--text-sm);
    line-height: 1.6;
    color: #374151;
    margin-bottom: 1rem;
}

.ideation-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.ideation-tag {
    padding: 0.25rem 0.5rem;
    background: #f3f4f6;
    color: #374151;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.ideation-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.ideation-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.ideation-actions {
    display: flex;
    gap: 0.5rem;
}

.ideation-actions button {
    padding: 0.5rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 300ms;
}

.ideation-actions .btn-support {
    background: linear-gradient(135deg, #8b5cf6, #f43f5e);
    color: white;
    border: none;
}

.ideation-actions .btn-support:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px -2px rgba(139, 92, 246, 0.3);
}

.ideation-actions .btn-claim {
    background: #3b82f6;
    color: white;
    border: none;
}

.ideation-actions .btn-claim:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

/* Filters */
.filters-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.filters-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.filter-btn {
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 300ms;
    text-align: center;
}

.filter-btn:hover {
    border-color: rgba(139, 92, 246, 0.5);
    color: #a78bfa;
    background: rgba(139, 92, 246, 0.1);
}

.filter-btn.active {
    border-color: #8b5cf6;
    color: white;
    background: rgba(139, 92, 246, 0.2);
}

/* Project Action Buttons */
.project-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.project-actions button {
    padding: 0.5rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 300ms;
    flex: 1;
}

.project-actions .btn-discuss {
    background: #f3f4f6;
    color: #374151;
}

.project-actions .btn-discuss:hover {
    background: #e5e7eb;
}

.project-actions .btn-contribute {
    background: #10b981;
    color: white;
    border: none;
}

.project-actions .btn-contribute:hover {
    background: #059669;
}

/* Submit Idea Form */
.submit-form {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    color: #111827;
}

.submit-form h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #8b5cf6;
    margin-bottom: 1rem;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step input,
.form-step select,
.form-step textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    transition: border-color 300ms;
    margin-bottom: 1rem;
}

.form-step input:focus,
.form-step select:focus,
.form-step textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-step textarea {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

.form-step input::placeholder,
.form-step textarea::placeholder {
    color: #9ca3af;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.form-navigation button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 300ms;
}

.form-navigation .btn-prev {
    background: #6b7280;
    color: white;
}

.form-navigation .btn-prev:hover {
    background: #4b5563;
}

.form-navigation .btn-next {
    background: linear-gradient(135deg, #8b5cf6, #f43f5e);
    color: white;
}

.form-navigation .btn-next:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px -2px rgba(139, 92, 246, 0.3);
}

.form-navigation .btn-submit {
    background: linear-gradient(135deg, #8b5cf6, #f43f5e);
    color: white;
}

.form-navigation .btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px -2px rgba(139, 92, 246, 0.3);
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e5e7eb;
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 300ms;
}

.step-circle.active {
    background: #8b5cf6;
    color: white;
}

.step-circle.completed {
    background: #10b981;
    color: white;
}

.step-label {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.5rem;
    text-align: center;
}

/* Review Section */
.review-section {
    background: #f9fafb;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.review-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.review-label {
    font-weight: 600;
    color: #374151;
}

.review-value {
    color: #6b7280;
}

/* Search Bar */
.search-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.search-bar {
    position: relative;
    margin-bottom: 1rem;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 0.9rem;
    transition: all 300ms;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-input:focus {
    outline: none;
    border-color: #8b5cf6;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
}

.search-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.search-filter {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 300ms;
}

.search-filter:hover {
    border-color: #8b5cf6;
    color: #a78bfa;
    background: rgba(139, 92, 246, 0.1);
}

.search-filter.active {
    border-color: #8b5cf6;
    color: white;
    background: rgba(139, 92, 246, 0.2);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #8b5cf6;
}

.no-results h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.no-results p {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Rules Section */
.rules-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.rules-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    text-align: center;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.rule-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    transition: all 300ms;
}

.rule-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.rule-icon {
    color: #8b5cf6;
    font-size: 1.25rem;
}

.rule-text {
    font-size: var(--text-sm);
    color: #e5e7eb;
    line-height: 1.5;
}