/* WebDesigns Job Portal styles */

.wdjp-app { max-width: 640px; margin: 0 auto; }

.wdjp-card {
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	padding: 24px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.wdjp-card h2 { margin-top: 0; }

.wdjp-btn {
	display: inline-block;
	padding: 10px 18px;
	border-radius: 6px;
	border: 1px solid #ccc;
	background: #f6f6f6;
	color: #222;
	cursor: pointer;
	font-size: 14px;
	text-decoration: none;
	margin: 4px 4px 4px 0;
}

.wdjp-btn-primary { background: #1a73e8; border-color: #1a73e8; color: #fff; }
.wdjp-btn-primary:hover { background: #1558b0; }
.wdjp-btn-google { width: 100%; background: #fff; border: 1px solid #dadce0; font-weight: 600; }
.wdjp-btn-small { padding: 6px 12px; font-size: 12px; }

.wdjp-divider { text-align: center; margin: 16px 0; color: #999; position: relative; }
.wdjp-divider span { background: #fff; padding: 0 10px; position: relative; z-index: 1; }
.wdjp-divider:before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid #eee; }

#wdjp-email-form label,
.wdjp-new-job label { display: block; margin: 10px 0 4px; font-weight: 600; font-size: 13px; }
#wdjp-email-form input,
.wdjp-new-job input,
.wdjp-new-job textarea { width: 100%; padding: 8px 10px; border: 1px solid #ccc; border-radius: 6px; box-sizing: border-box; }

.wdjp-error { color: #c0392b; margin-top: 10px; min-height: 1em; }

.wdjp-dash-header { display: flex; justify-content: space-between; align-items: center; }

.wdjp-new-job { margin: 20px 0; padding: 16px; background: #fafafa; border-radius: 8px; }

.wdjp-jobs-list { margin-top: 20px; }

.wdjp-job-item { border: 1px solid #eee; border-radius: 8px; padding: 14px; margin-bottom: 12px; }
.wdjp-job-item-head { display: flex; justify-content: space-between; align-items: center; }
.wdjp-job-desc { color: #555; }
.wdjp-job-meta { color: #888; font-size: 12px; }
.wdjp-job-notes { background: #fff8e1; padding: 8px; border-radius: 6px; }

.wdjp-badge { padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; text-transform: capitalize; }
.wdjp-badge-pending_payment { background: #fdecea; color: #c0392b; }
.wdjp-badge-paid { background: #e8f0fe; color: #1a73e8; }
.wdjp-badge-in_progress { background: #fff8e1; color: #b8860b; }
.wdjp-badge-completed { background: #e6f4ea; color: #1e8e3e; }
.wdjp-badge-delivered { background: #e6f4ea; color: #0f6d2c; }
.wdjp-badge-cancelled { background: #f1f1f1; color: #777; }

.wdjp-loading { text-align: center; color: #888; }

/* Admin */
.wdjp-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 9999; display: flex; align-items: center; justify-content: center; }
.wdjp-modal-content { background: #fff; padding: 24px; border-radius: 8px; width: 480px; max-width: 90%; max-height: 85vh; overflow-y: auto; }
.wdjp-modal-content label { display: block; margin: 12px 0 4px; font-weight: 600; }
.wdjp-wrap .subsubsub { margin-bottom: 10px; }
