
   /* Editor toolbar buttons */
.btn-toolbar button {
    margin-right: 5px;
    padding: 6px 10px;
    cursor: pointer;
}

/* Editable job description area */
#editor {
    min-height: 150px;
    overflow: auto;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 4px;
    background: #fff;
}

/* Hashtag section container */
.hashtags-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    margin-top: 20px;
}

/* Section title */
.hashtags-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

/* Container for displaying hashtags */
.hashtags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

/* Default hashtag appearance (white with blue outline) */
.hashtag {
    background: #fff;
    
    border: 1px solid #667eea;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Additional hashtags (removable) */
.hashtag.additional {
    color: #6c757d;
    border: 1px solid #6c757d;
    cursor: pointer;
}

.hashtag.additional:hover {
    color: #dc3545;
    border-color: #dc3545;
    background: #fff;
}

/* Cross icon for removable hashtags */
.remove-icon {
    margin-left: 5px;
    color: inherit;
    font-size: 0.85rem;
    cursor: pointer;
}

.hashtag.additional:hover .remove-icon {
    color: #dc3545;
}

/* Dropdown styling */
select {
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

/* Submit button */
.btnHvr {
    padding: 10px 20px;
    background-color: #fff;
    color: #667eea;
    border: 2px solid #667eea;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s, color 0.3s;
}

.btnHvr:hover {
    background-color: #667eea;
    color: white;
}
   

/* Reset & base styles */
body {
	background-color: #f8f9fa;
	font-family: Arial, sans-serif;
	padding: 2rem;
	margin: 0;
}

.job-post-container {
	max-width: 900px;
	margin: auto;
	background: white;
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	padding: 2rem;
}

h1, h5 {
	margin-bottom: 1rem;
	text-align: center;
}

form {
	margin-top: 1rem;
}

/* Two columns in a row with gap */
.job-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
}

.job-col {
	margin-bottom: 20px;
}

label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #333;
	font-size: 1.05rem;
}

input, select {
	width: 100%;
	padding: 12px 15px;
	border: 2px solid #e1e5e9;
	border-radius: 8px;
	font-size: 1rem;
	transition: all 0.3s ease;
	background: white;
}

/* Salary section with nested grid */
.job-salary-section {
	padding: 1rem;
	border-radius: 6px;
	border: 1px solid #ddd;
	margin-bottom: 1.5rem;
}

.job-salary-row {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	margin-top: 1rem;
}

.job-salary-col {
	flex: 1 1 30%;
	min-width: 200px;
}

.job-input-group {
	display: flex;
	align-items: center;
	border: 1px solid #ccc;
	border-radius: 4px;
	overflow: hidden;
}

.job-input-group span {
	background-color: #e9ecef;
	padding: 0.5rem 0.8rem;
	font-size: 1rem;
	border-right: 1px solid #ccc;
	white-space: nowrap;
	min-width: 24px;
	text-align: center;
}

.job-input-group input {
	border: none;
	flex-grow: 1;
	padding: 0.5rem;
	font-size: 1rem;
	outline: none;
}

/* Notice period row */
.job-notice-row {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	margin-bottom: 1.5rem;
}

.job-notice-col {
	flex: 1 1 45%;
	min-width: 250px;
}

/* Skills section */
.job-skills-section {
	background-color: #f1f3f5;
	padding: 1rem;
	border-radius: 6px;
	border: 1px solid #ddd;
	margin-bottom: 1.5rem;
}

.job-skills-input-group {
	display: flex;
	gap: 10px;
	margin-bottom: 1rem;
}

.job-skills-input {
	flex-grow: 1;
	padding: 0.5rem;
	font-size: 1rem;
	border-radius: 4px;
	border: 1px solid #ccc;
	box-sizing: border-box;
}

.btn-add-skill {
	padding: 0 1rem;
	background-color: #007bff;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 1rem;
	transition: background-color 0.3s ease;
}

.btn-add-skill:hover {
	background-color: #0056b3;
}

.job-skills-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.skill-tag, .hashtag-tag {
	display: inline-block;
	background-color: #f0f0f0;
	padding: 6px 10px;
	margin: 5px;
	border-radius: 4px;
	cursor: default;
}

.skill-tag span {
	font-weight: bold;
}

/* Responsive tweaks */
@media ( max-width : 600px) {
	.job-col, .job-notice-col, .job-salary-col {
		flex-basis: 100%;
	}
}

  .editor-container {
    max-width: 1000px; /* Increased width */
    width: 100%;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    transition: 0.3s ease;
  }

  .editor-container:focus-within {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
  }

  .editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 8px 8px 0 0;
  }

  .btn {
    padding: 8px 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
  }

  .btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
  }

  .btn.active {
    background: #4f46e5;
    color: #fff;
    border-color: #4f46e5;
  }

  .editor-content {
    min-height: 120px; /* Reduced height */
    padding: 16px;
    font-size: 1rem;
    line-height: 1.6;
    outline: none;
  }

  .editor-content:empty:before {
    content: "Enter job description...";
    color: #9ca3af;
    pointer-events: none;
  }
