/* ========================================
   DAO PROPOSALS STYLES
   ======================================== */

.proposals-hero {
    background: linear-gradient(135deg, #0a1a0a 0%, #000000 100%);
    padding: 60px 20px;
    text-align: center;
    border-bottom: 2px solid #32cd32;
}

.proposals-hero h1 {
    font-family: 'Play', sans-serif;
    font-size: 2.5rem;
    color: #32cd32;
    margin-bottom: 15px;
}

.proposals-hero p {
    font-family: 'Jura', sans-serif;
    font-size: 1.1rem;
    color: #8A9298;
    max-width: 700px;
    margin: 0 auto 25px;
    line-height: 1.6;
}

.proposals-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid rgba(50, 205, 50, 0.3);
    color: #8A9298;
    font-family: 'Jura', sans-serif;
    font-size: 0.9rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab:hover {
    border-color: #32cd32;
    color: #32cd32;
}

.filter-tab.active {
    background: #32cd32;
    border-color: #32cd32;
    color: #000;
    font-weight: 600;
}

/* Proposal Cards */
.proposal-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(50, 205, 50, 0.2);
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.proposal-card:hover {
    border-color: #32cd32;
    box-shadow: 0 4px 20px rgba(50, 205, 50, 0.1);
    transform: translateY(-2px);
}

.proposal-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.proposal-card-header h3 {
    font-family: 'Play', sans-serif;
    color: #ffffff;
    font-size: 1.3rem;
    margin: 0;
}

.proposal-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-family: 'Jura', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.status-active {
    background: rgba(50, 205, 50, 0.15);
    color: #32cd32;
    border: 1px solid rgba(50, 205, 50, 0.3);
}

.status-funded {
    background: rgba(0, 150, 255, 0.15);
    color: #4da6ff;
    border: 1px solid rgba(0, 150, 255, 0.3);
}

.status-expired {
    background: rgba(138, 146, 152, 0.15);
    color: #8A9298;
    border: 1px solid rgba(138, 146, 152, 0.3);
}

.proposal-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.proposal-meta span {
    font-family: 'Jura', sans-serif;
    font-size: 0.85rem;
    color: #8A9298;
}

.proposal-meta span i {
    color: #32cd32;
    margin-right: 5px;
}

.proposal-description {
    font-family: 'Jura', sans-serif;
    color: #b8b8d1;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Proposal Detail View */
.proposal-detail {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(50, 205, 50, 0.3);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
}

.proposal-detail h2 {
    font-family: 'Play', sans-serif;
    color: #32cd32;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.proposal-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 600px) {
    .proposal-detail-grid {
        grid-template-columns: 1fr;
    }
}

.detail-item {
    background: rgba(50, 205, 50, 0.05);
    border: 1px solid rgba(50, 205, 50, 0.15);
    border-radius: 8px;
    padding: 14px;
}

.detail-item label {
    font-family: 'Jura', sans-serif;
    font-size: 0.75rem;
    color: #8A9298;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 4px;
}

.detail-item .value {
    font-family: 'Inconsolata', monospace;
    color: #ffffff;
    font-size: 1rem;
    word-break: break-all;
}

.detail-item .value.amount {
    color: #32cd32;
    font-size: 1.2rem;
    font-weight: 700;
}

.milestones-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.milestones-list li {
    font-family: 'Jura', sans-serif;
    color: #b8b8d1;
    padding: 10px 0;
    border-bottom: 1px solid rgba(50, 205, 50, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.milestones-list li:last-child {
    border-bottom: none;
}

.milestones-list li::before {
    content: '●';
    color: #32cd32;
    font-size: 0.6rem;
}

/* CLI Commands Box */
.cli-box {
    background: #0d0d0d;
    border: 1px solid rgba(50, 205, 50, 0.3);
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
    position: relative;
}

.cli-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cli-box-header h4 {
    font-family: 'Play', sans-serif;
    color: #32cd32;
    font-size: 0.9rem;
    margin: 0;
}

.copy-btn {
    padding: 4px 12px;
    background: rgba(50, 205, 50, 0.1);
    border: 1px solid rgba(50, 205, 50, 0.3);
    color: #32cd32;
    font-family: 'Jura', sans-serif;
    font-size: 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: #32cd32;
    color: #000;
}

.cli-box pre {
    font-family: 'Inconsolata', monospace;
    color: #5bd75b;
    font-size: 0.85rem;
    white-space: pre-wrap;
    word-break: break-all;
    margin: 0;
    line-height: 1.6;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: rgba(50, 205, 50, 0.2);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-family: 'Play', sans-serif;
    color: #8A9298;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.empty-state p {
    font-family: 'Jura', sans-serif;
    color: #555;
    font-size: 0.95rem;
    max-width: 400px;
    margin: 0 auto;
}

/* Create Proposal Form */
.form-section {
    max-width: 700px;
    margin: 40px auto;
    padding: 0 20px;
}

.form-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(50, 205, 50, 0.2);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 24px;
}

.form-card h3 {
    font-family: 'Play', sans-serif;
    color: #32cd32;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: 'Jura', sans-serif;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group .hint {
    font-family: 'Jura', sans-serif;
    font-size: 0.75rem;
    color: #8A9298;
    margin-top: 4px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(50, 205, 50, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Jura', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #32cd32;
    box-shadow: 0 0 0 2px rgba(50, 205, 50, 0.1);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.info-box {
    background: rgba(50, 205, 50, 0.05);
    border: 1px solid rgba(50, 205, 50, 0.2);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.info-box h4 {
    font-family: 'Play', sans-serif;
    color: #32cd32;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-box ul li {
    font-family: 'Jura', sans-serif;
    color: #8A9298;
    font-size: 0.85rem;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-box ul li i {
    color: #32cd32;
    font-size: 0.7rem;
}

.btn-primary {
    display: inline-block;
    padding: 14px 30px;
    background: #32cd32;
    border: 2px solid #32cd32;
    color: #000;
    font-family: 'Play', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background: #5bd75b;
    border-color: #5bd75b;
}

.btn-outline {
    display: inline-block;
    padding: 12px 25px;
    background: transparent;
    border: 2px solid #32cd32;
    color: #32cd32;
    font-family: 'Play', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline:hover {
    background: #32cd32;
    color: #000;
}

/* Result section */
.result-section {
    display: none;
    margin-top: 30px;
}

.result-section.visible {
    display: block;
}

.share-url {
    background: #0d0d0d;
    border: 1px solid rgba(50, 205, 50, 0.3);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
}

.share-url input {
    flex: 1;
    background: transparent;
    border: none;
    color: #5bd75b;
    font-family: 'Inconsolata', monospace;
    font-size: 0.85rem;
    outline: none;
}

/* Back link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #32cd32;
    text-decoration: none;
    font-family: 'Jura', sans-serif;
    font-size: 0.9rem;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #5bd75b;
}

/* Toast notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #32cd32;
    color: #000;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: 'Jura', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}
