/* کانتینر کلی فرم */
.crr-form {
    font-family: 'IRANYekanXFN', Sans-serif !important;
    max-width: 650px;
   
    padding: 24px;
    background: #fff;
    
    border-radius: 14px;
    box-shadow: 0 0 60px -1px #fde6c8;
   
    direction: rtl;
}

#packages-wrapper{
  display: flex;
  flex-wrap: wrap;

  justify-content: space-between;
}
#packages-wrapper .package-item{
   width: 48%;
  border: 1px solid #f9f9f9;
  padding: 40px;
  border-radius: 20px;
  margin: 10px;
}
#crr-profile-form{
        display: flex
;
    flex-wrap: wrap;
}
#packages-wrapper label{
width: 100%;
  color: #737373;
  margin-top: 10px;
}
#packages-wrapper input {
    border: 1px solid #eee;
  border-radius: 10px;
  width: 100%;
  margin-top: 15px;
  margin-bottom: 20px;
  padding: 10px;
}

#packages-form h3 , #resume-form h3{
      font-size: 26px;
  text-align: center;
  margin: 30px auto;
    margin-bottom: 30px;
  border-bottom: 1px solid #eee;
  margin-bottom: 25px;
  padding-bottom: 20px;
  text-align: center;
  width: fit-content;
}

 .helping_resum_pac{
    padding: 10px;
  border-radius: 10px;
  background-color: #ffa80524;
  color: #ffa805;
 }

#packages-form .remove-package , #packages-form button[type=submit] , #save-resumes {
    background-color: #ffa805;
    color: white;
    border-radius: 10px;
    border: none;
}
#packages-form .remove-package:hover , #packages-form button[type=submit]:hover , #save-resumes:hover{
    background-color: white;
    color: #ffa805;
    border-radius: 10px;
}


#add-package , .remove-resume , #add-resume{
    background-color: #303030 !important;
  color: white !important;
  border-radius: 10px !important;
  border: none !important;
}

#add-package:hover , .remove-resume:hover , #add-resume:hover{
    background-color: #240864 !important;
  color: white !important;
  border-radius: 10px !important;
  border: none !important;
}


#resume-items{
    display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.resume-item{
    width: 48%;
  border: 1px solid #e6e6e6;
  padding: 40px;
  margin: 10px;
  border-radius: 28px;
}
#crr-profile-form p{
        width: 31%;
    margin: 14px;
}




/* عنوان */
.crr-title {
   margin-top: 0;
    margin-bottom: 20px;
    font-size: 21px;
    color: #111827;
    text-align: right;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eaeaea;
}

/* گرید */
.crr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

/* فیلدها */
.crr-field {
    display: flex;
    flex-direction: column;
}

.crr-field label {
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.crr-field input,
.crr-field select,
.crr-field textarea {
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.crr-field input:focus,
.crr-field select:focus,
.crr-field textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
    outline: none;
}

/* فیلد تمام عرض */
.crr-full {
    grid-column: 1 / -1;
}

/* دکمه */
.crr-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.crr-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.crr-btn:hover {
    background: #1d4ed8;
}




/* فرم ورود */
.sl-form {
    max-width: 400px;
    margin: 30px auto;
    padding: 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    direction: rtl;
    font-family: inherit;
}

/* عنوان */
.sl-title {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    color: #111827;
}

/* فیلدها */
.sl-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.sl-field label {
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.sl-field input {
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.sl-field input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
    outline: none;
}

/* دکمه */
.sl-actions {
    display: flex;
    justify-content: flex-end;
}

/* Wrapper */
.profile-wrapper {
    max-width: 100%;
    margin: 0px auto;
 font-family: 'IRANYekanX' !important;
    direction: rtl;
}


.profile-wrapper input , .profile-wrapper select{
        padding: 10px;
    padding-right: 30px;
    border-radius: 9px;
    border: 1px solid #ddd;
    margin-top: 6px;
}

/* Header */
.profile-wrapper .profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffa805;
    color: #fff;
    padding: 15px 25px;
    border-radius: 8px 8px 0px 0px;
margin-bottom: 0px !important;
    position: relative;
    overflow: unset !important;
    display: inline-block;
    max-width: 100%;
    width: 100%;
    display: flex
;
position: fixed;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
        top: 0;
    right: 0;
}

.profile-wrapper .site-title {
    font-size: 22px;
    font-weight: bold;
}

.profile-wrapper .logout-button {
    background: #ff4d4d;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}
.profile-wrapper .logout-button:hover {
    background: #cc0000;
}

/* Layout */
.profile-wrapper .advanced-profile {
    display: flex;
    flex-direction: row; /* ستون راست */
    gap: 25px;
}

/* Sidebar */
.profile-wrapper .sidebar {
    width: 320px;
    background: #303030;
        top: 0;
    right: 0;
  height: 100%;
    position: fixed;
    padding: 20px;
    padding-top: 150px;
       z-index: 1;
    border-radius: 0px 20px;
    
}

.profile-wrapper .user-info {
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    color: white;
}



.profile-wrapper .user-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
       border-radius: 50%;
    border: 5px solid #eee;
}

.profile-wrapper .user-name {
      font-size: 23px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 3px;
}


.profile-wrapper .service-content{
       margin: 50px;
    margin-right: 360px;
    margin-top: 85px;
}

.user-role {
    font-size: 14px;
    color: #e6e6e6;
    margin-bottom: 8px;
}

.user-meta {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

.user-meta p {
   color: #fff;
}


/* Tabs */
.profile-wrapper .tab-links{
    padding-right: 0px;
}
.profile-wrapper .tab-links li {
    margin-bottom: 10px;
    list-style: none;
    margin-right: 0px;
}

.profile-wrapper .tab-links a {
        display: block;
    padding: 12px;
    background: #303030;
    border-radius: 6px;
    text-align: center;
    color: #e8ebee;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
}
.profile-wrapper .tab-links a:hover,
.profile-wrapper .tab-links a.active {
        background: #ffa805;
    color: #303030;
}

/* Main Panel */
.main-panel {
    flex: 1;
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 0 12px rgba(0,0,0,0.08);
}

.panel-title {
    font-size: 20px;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    color: #003366;
}

.tab-content {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}


/* فرم کلی */
.profile-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
    color: #003366;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s;
    background: #fafafa;
}

.form-group input:focus {
    border-color: #ff6600;
    background: #fff;
    outline: none;
    box-shadow: 0 0 6px rgba(255,102,0,0.3);
}

/* دکمه ذخیره */
.form-actions {
    text-align: left;
}

.btn-save {
    background: #ff6600;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-save:hover {
    background: #e65c00;
}

/* آیکون‌های هدر (کنار نام سایت) */
.profile-wrapper .site-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 20px;
}

.profile-wrapper .site-title .header-icon {
    color: #333;
    font-size: 16px;
    margin-left: 6px;
    transition: color 0.3s;
}

.profile-wrapper .site-title .header-icon:hover {
    color: #ff6600; /* رنگ هاور */
}

/* آواتار کوچک در هدر */
.profile-wrapper .user-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-left: 8px;
    cursor: pointer;
    vertical-align: middle;
    border: 2px solid #ddd;
    transition: border-color 0.3s;
}

.profile-wrapper .user-avatar-small:hover {
    border-color: #ff6600;
}

/* منوی دراپ‌دان */
.profile-wrapper .dropdown-menu {
    position: absolute;
    top: 50px;
    left: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 160px;
    z-index: 999;
    overflow: hidden;
}

.profile-wrapper .dropdown-menu a {
    display: block;
    padding: 10px 14px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s, color 0.3s;
}

.profile-wrapper .dropdown-menu a:hover {
    background: #f5f5f5;
    color: #ff6600;
}


.eepek_login{
    background-color: white;
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0 0 60px -1px #fde6c8;
        font-family: 'IRANYekanXFN';
}

.eepek_login h2{
    
    font-family: 'IRANYekanXFN';
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
    margin-bottom: 15px;
        font-size: 21px;
    font-weight: 600;
}


.eepek_login input ,
 #custom-register-form input ,
  #custom-register-form select ,
   #custom-register-form textarea ,
    .resume-item__input input ,
    #crr-profile-form input ,
    #crr-profile-form select,
    #crr-profile-form textarea  {
        border: 1px solid #eaeaea !important;
    border-radius: 10px !important;
    padding: 12px !important;
    margin-top: 10px !important;
}

.eepek_login button , #custom-register-form button ,  #crr-profile-form button{
        background-color: #f97316;
    color: white;
    border: none;
}

.eepek_login button:hover , #custom-register-form button:hover ,  #crr-profile-form button:hover{
        background-color: white;
    color: #f97316;
    border: none;
}

.eepek_login .alert{
    background-color: #ffefe0;
    padding: 11px 20px;
    margin-bottom: 10px;
    border-radius: 11px;
    color: #e59400;
    line-height: 1.7em;
}

