/* Petition System Styles */

.tlp-petition-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.tlp-petition-header {
    text-align: center;
    margin-bottom: 30px;
}

.tlp-petition-header h2 {
    color: #1a365d;
    font-size: 32px;
    margin: 0 0 10px 0;
}

.tlp-petition-header p {
    color: #666;
    font-size: 18px;
}

.tlp-petition-content {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
}

.tlp-petition-text h3 {
    color: #1a365d;
    margin: 0 0 20px 0;
}

.tlp-petition-demands {
    background: #f8f9fa;
    border-left: 4px solid #1a365d;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 0 8px 8px 0;
}

.tlp-petition-demands p {
    margin: 0 0 15px 0;
}

.tlp-petition-demands ul {
    margin: 10px 0;
    padding-left: 20px;
}

.tlp-petition-demands li {
    margin-bottom: 8px;
}

/* Progress Bar */
.tlp-petition-progress {
    background: #1a365d;
    color: #fff;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
}

.tlp-signature-count {
    margin-bottom: 15px;
}

.tlp-count-number {
    font-size: 48px;
    font-weight: 800;
    display: block;
}

.tlp-count-label {
    font-size: 16px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tlp-progress-bar {
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    height: 20px;
    overflow: hidden;
    margin-bottom: 10px;
}

.tlp-progress-fill {
    background: #c53030;
    height: 100%;
    border-radius: 20px;
    transition: width 0.5s ease;
}

.tlp-progress-goal {
    font-size: 14px;
    opacity: 0.8;
}

/* Petition Form */
.tlp-petition-form {
    margin-top: 30px;
}

.tlp-petition-fields {
    margin-bottom: 20px;
}

.tlp-field-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.tlp-field-row input,
.tlp-field-row select {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 16px;
}

.tlp-field-row input:focus,
.tlp-field-row select:focus {
    outline: none;
    border-color: #1a365d;
    box-shadow: 0 0 0 3px rgba(26,54,93,0.1);
}

.tlp-checkbox-row {
    display: block;
}

.tlp-checkbox-row label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.tlp-checkbox-row input[type="checkbox"] {
    flex: none;
    width: 18px;
    height: 18px;
}

.tlp-petition-btn {
    width: 100%;
    background: #c53030;
    color: #fff;
    border: none;
    padding: 16px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.tlp-petition-btn:hover {
    background: #9b2c2c;
    transform: translateY(-2px);
}

.tlp-petition-btn:disabled {
    background: #999;
    cursor: not-allowed;
    transform: none;
}

.tlp-petition-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.tlp-petition-message.success {
    background: #d4edda;
    color: #155724;
}

.tlp-petition-message.error {
    background: #f8d7da;
    color: #721c24;
}

/* Recent Signatures */
.tlp-recent-signatures {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.tlp-recent-signatures h4 {
    color: #1a365d;
    margin: 0 0 15px 0;
}

.tlp-recent-signatures ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tlp-recent-signatures li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.tlp-recent-signatures li:last-child {
    border-bottom: none;
}

.tlp-sig-location {
    color: #666;
}

.tlp-sig-time {
    color: #999;
    margin-left: auto;
    font-size: 12px;
}

/* Share Petition */
.tlp-share-petition {
    margin-top: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    text-align: center;
}

.tlp-share-petition p {
    margin: 0 0 15px 0;
    color: #666;
}

@media (max-width: 600px) {
    .tlp-field-row {
        flex-direction: column;
    }

    .tlp-count-number {
        font-size: 36px;
    }
}
