/* Public Post Submission Styles */
.pps-form-container {
    max-width: 700px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.pps-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.pps-form-title {
    color: #2c3e50;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.pps-form-description {
    color: #7f8c8d;
    font-size: 16px;
    line-height: 1.5;
}

.pps-form {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e8ed;
}

.pps-form-group {
    margin-bottom: 30px;
}

.pps-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #34495e;
}

.label-text {
    font-size: 15px;
    display: inline-block;
    margin-bottom: 5px;
}

.pps-input,
.pps-textarea,
.pps-select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    color: #2c3e50;
}

.pps-input:focus,
.pps-textarea:focus,
.pps-select:focus {
    outline: none;
    border-color: #3498db;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.pps-textarea {
    min-height: 150px;
    resize: vertical;
}

.pps-select {
    height: auto;
    min-height: 46px;
}

.pps-input-helper {
    font-size: 13px;
    color: #95a5a6;
    margin-top: 6px;
    line-height: 1.4;
}

.pps-captcha-container {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.pps-captcha-question {
    margin-bottom: 15px;
}

.captcha-text {
    display: block;
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 10px;
}

.captcha-equation {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

.captcha-number {
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 6px;
    border: 2px solid #3498db;
}

.captcha-plus,
.captcha-equals {
    font-size: 20px;
    color: #3498db;
}

.pps-captcha-input {
    width: 100px;
    padding: 12px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    border: 2px solid #e1e8ed;
    border-radius: 6px;
    background: #ffffff;
}

.pps-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e1e8ed;
}

.pps-required-note {
    font-size: 13px;
    color: #95a5a6;
}

.pps-submit-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pps-submit-btn:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1c5a7a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

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

.btn-icon {
    font-size: 18px;
}

.pps-message {
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pps-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.pps-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.success-icon,
.error-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.success-icon {
    background: #28a745;
    color: white;
}

.error-icon {
    background: #dc3545;
    color: white;
}

.pps-message h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
}

.pps-message p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pps-form {
        padding: 25px;
    }
    
    .pps-form-title {
        font-size: 24px;
    }
    
    .pps-form-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .pps-submit-btn {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .pps-form-container {
        padding: 0 15px;
    }
    
    .pps-form {
        padding: 20px;
    }
    
    .pps-form-title {
        font-size: 22px;
    }
    
    .pps-input,
    .pps-textarea,
    .pps-select {
        padding: 12px;
    }
}