/**
 * Personal Recruitment - Frontend Styles
 * Colors: #F8F3E8 (parchment), #6B5437 (brown), #4A2E1F (dark brown)
 */

/* ===== עמוד תשלום ראשוני ===== */
.pr-payment-intro {
    background: #F9F4E8;
    padding: 60px 20px;
    min-height: 80vh;
    direction: rtl;
}

.pr-intro-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border: 2px solid #6B5437;
    box-shadow: 0 10px 40px rgba(107, 84, 55, 0.15);
    padding: 50px;
    border-radius: 12px;
}

.pr-intro-title {
    color: #4A2E1F;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.pr-intro-subtitle {
    color: #6B5437;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.pr-pricing-box {
    background: linear-gradient(135deg, #F8F3E8 0%, #fff 100%);
    border: 3px solid #6B5437;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.pr-pricing-box h2 {
    color: #4A2E1F;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.pr-price-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.pr-price-old {
    color: #999;
    font-size: 1.1rem;
}

.pr-price-old del {
    color: #999;
}

.pr-price-new {
    color: #6B5437;
    font-size: 2rem;
    font-weight: 700;
}

.pr-price-new strong {
    color: #6B5437;
    font-size: 2.5rem;
}

.pr-benefits {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
  text-align: right;
}

.pr-benefits h3 {
    color: #4A2E1F;
    margin-bottom: 15px;
    text-align: center;
}

.pr-benefits ul {
    list-style: none;
    padding: 0;
}

.pr-benefits li {
    padding: 10px 0;
    font-size: 1.1rem;
    color: #6B5437;
    border-bottom: 1px solid #f0f0f0;
}

.pr-benefits li:last-child {
    border-bottom: none;
}

.pr-btn-payment {
    display: inline-block;
    background: linear-gradient(135deg, #6B5437 0%, #5a4530 100%);
    color: #4A2E1F;
    padding: 20px 50px;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(107, 84, 55, 0.4);
    transition: all 0.3s ease;
    margin: 30px 0;
}

.pr-btn-payment:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(107, 84, 55, 0.5);
    background: linear-gradient(135deg, #5a4530 0%, #6B5437 100%);
    color: #4A2E1F;
    text-decoration: none;
}

.pr-note {
    color: #6B5437;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 20px;
}

/* ===== טופס פתיחת פרויקט ===== */
.pr-project-form-wrapper {
    background: #F9F4E8;
    padding: 60px 20px;
    min-height: 100vh;
    direction: rtl;
}

.pr-form-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border: 2px solid #6B5437;
    box-shadow: 0 10px 40px rgba(107, 84, 55, 0.15);
    padding: 50px;
    border-radius: 12px;
}

.pr-form-container h1 {
    color: #4A2E1F;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 20px;
}

.pr-form-intro {
    color: #6B5437;
    text-align: center;
    line-height: 1.8;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.pr-form-section {
    background: #F8F3E8;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.pr-form-section h3 {
    color: #4A2E1F;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #6B5437;
}

.pr-field {
    margin-bottom: 25px;
}

.pr-field label {
    display: block;
    color: #4A2E1F;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.pr-field .required {
    color: #6B5437;
    font-weight: 700;
}

.pr-field input[type="text"],
.pr-field input[type="email"],
.pr-field input[type="tel"],
.pr-field input[type="number"],
.pr-field input[type="date"],
.pr-field textarea,
.pr-field input[type="file"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #6B5437;
    border-radius: 8px;
    font-size: 1rem;
    color: #4A2E1F;
    background: #fff;
    transition: all 0.3s ease;
}

.pr-field input:focus,
.pr-field textarea:focus {
    outline: none;
    border-color: #5a4530;
    box-shadow: 0 0 10px rgba(107, 84, 55, 0.3);
}

.pr-field textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.pr-field small {
    display: block;
    color: #999;
    font-size: 0.9rem;
    margin-top: 5px;
}

.char-count {
    color: #6B5437;
    font-size: 0.85rem;
}

.pr-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pr-field-checkbox {
    padding: 20px;
    background: #fff;
    border: 2px solid #6B5437;
    border-radius: 8px;
}

.pr-field-checkbox input[type="checkbox"] {
    margin-left: 10px;
    width: 20px;
    height: 20px;
}

.pr-field-checkbox label {
    display: inline;
    color: #4A2E1F;
    font-size: 1.05rem;
}

.pr-terms-link {
    color: #6B5437;
    text-decoration: underline;
}

.pr-btn-submit {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 40px auto 0;
    background: linear-gradient(135deg, #6B5437 0%, #5a4530 100%);
    color: #4A2E1F;
    padding: 20px 40px;
    font-size: 1.5rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(107, 84, 55, 0.4);
    transition: all 0.3s ease;
}

.pr-btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(107, 84, 55, 0.5);
}

/* ===== תצוגה מוקדמת ועריכה ===== */
.pr-preview-wrapper {
    background: #F9F4E8;
    padding: 60px 20px;
    min-height: 100vh;
    direction: rtl;
}

.pr-preview-container {
    max-width: 1000px;
    margin: 0 auto;
}

.pr-preview-notice {
    color: #4A2E1F;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 8px 20px rgba(107, 84, 55, 0.4);
}

.pr-preview-notice h2 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
}

.pr-preview-notice p {
    margin: 0;
    font-size: 1.1rem;
}

.pr-preview-content {
    background: #fff;
    border: 2px solid #6B5437;
    border-radius: 12px;
    padding: 50px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(107, 84, 55, 0.15);
}

.pr-hero {
    text-align: center;
    margin-bottom: 40px;
}

.pr-hero-image {
    width: 300px;
    height: 300px;
    margin: 0 auto 30px;
    border: 5px solid #6B5437;
   
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(107, 84, 55, 0.2);
}

.pr-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pr-hero-title {
    color: #4A2E1F;
    font-size: 2.5rem;
    margin: 0;
    padding: 15px;
    border-radius: 8px;
}

.pr-section {
    margin-bottom: 40px;
    padding: 30px;
    background: #F8F3E8;
    border-radius: 8px;
}

.pr-section h3 {
    color: #4A2E1F;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #6B5437;
}

.editable {
    padding: 15px;
    border: 2px dashed transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-height: 60px;
}

.editable:hover {
    border-color: #6B5437;
    background: #fff;
}

.editable:focus {
    outline: none;
    border-color: #5a4530;
    background: #fff;
    box-shadow: 0 0 10px rgba(107, 84, 55, 0.3);
}

.pr-meter {
    background: linear-gradient(135deg, #F8F3E8 0%, #fff 100%);
    border: 2px solid #6B5437;
}

.pr-progress-bar {
    width: 100%;
    height: 30px;
    background: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    margin: 20px 0;
}

.pr-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6B5437 0%, #5a4530 100%);
    transition: width 1s ease;
}

.pr-stats {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    color: #4A2E1F;
    font-weight: 600;
}

.pr-edit-info {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
}

.pr-edit-info p {
    margin: 0 0 15px 0;
    color: #4A2E1F;
    font-weight: 600;
}

.pr-edit-info ul {
    margin: 0;
    padding-right: 20px;
}

.pr-edit-info li {
    padding: 5px 0;
    color: #6B5437;
}

.pr-action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.pr-btn-primary,
.pr-btn-secondary {
    padding: 18px 40px;
    font-size: 1.3rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.pr-btn-primary {
    background: linear-gradient(135deg, #6B5437 0%, #5a4530 100%);
    color:wheat !important;
    border-radius: 32px !important;
    border-color: wheat !important;
}

.pr-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(107, 84, 55, 0.4);
}

.pr-btn-secondary {
    background: #6B5437;
    color: wheat;
    border-radius: 32px !important;
    border-color: wheat !important;
}

.pr-btn-secondary:hover {
    background: #6B5437 !important;
    transform: translateY(-3px);
    color: wheat !important;
}

.pr-btn-secondary:active,
.pr-btn-secondary:focus,
.pr-btn-secondary:visited {
    background: #6B5437 !important;
    color: wheat !important;
    border-color: wheat !important;
}

/* דריסת ברירת מחדל של אלמנטור */
a.pr-btn-secondary:link,
a.pr-btn-secondary:visited,
a.pr-btn-secondary:hover,
a.pr-btn-secondary:active {
    background: #6B5437 !important;
    color: wheat !important;
    border-color: wheat !important;
}

.pr-message {
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 20px;
    animation: fadeIn 0.5s ease;
}

.pr-message.success {
    background: #F9F4E8;
    color: #6B5437;
   
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.pr-message.success h2 {
    margin: 0 0 15px 0;
    font-size: 1.8rem;
  
}

.pr-message.success p {
    margin: 10px 0;
    line-height: 1.6;
}

.pr-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

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

/* Responsive */
@media (max-width: 768px) {
    .pr-intro-container,
    .pr-form-container,
    .pr-preview-content {
        padding: 30px 20px;
    }
    
    .pr-intro-title,
    .pr-form-container h1 {
        font-size: 1.8rem;
    }
    
    .pr-field-row {
        grid-template-columns: 1fr;
    }
    
    .pr-action-buttons {
        flex-direction: column;
    }
    
    .pr-btn-primary,
    .pr-btn-secondary {
        width: 100%;
    }
    
    .pr-hero-title {
        font-size: 2rem;
    }
}
.pr-btn-submit{
    display: block !important;
      color: wheat !important;
      border-radius: 32px !important;
      border-color: wheat !important;
}