/**
 * OopsyHR Public Styles
 *
 * @package OopsyHR
 */

/* General Widget Styles */
.oopsyhr-clock-widget,
.oopsyhr-timesheet-widget,
.oopsyhr-pto-balance-widget,
.oopsyhr-pto-request-widget {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 20px;
	margin: 20px 0;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.oopsyhr-clock-widget h3,
.oopsyhr-timesheet-widget h3,
.oopsyhr-pto-balance-widget h3,
.oopsyhr-pto-request-widget h3 {
	margin-top: 0;
	padding-bottom: 15px;
	border-bottom: 2px solid #2271b1;
	color: #2271b1;
}

/* Clock Widget */
.oopsyhr-clock-widget {
	text-align: center;
}

.clock-status {
	padding: 20px 0;
}

.clock-status p {
	font-size: 18px;
	margin: 10px 0;
}

.clock-status.active p:first-child {
	color: #46b450;
	font-weight: 600;
}

.clock-status.inactive p:first-child {
	color: #999;
	font-weight: 600;
}

.clock-time {
	font-size: 16px;
	color: #666;
}

/* Buttons */
.oopsyhr-btn {
	background: #2271b1;
	color: #fff;
	border: none;
	padding: 12px 24px;
	font-size: 16px;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.3s;
}

.oopsyhr-btn:hover {
	background: #135e96;
}

.oopsyhr-btn:disabled {
	background: #ccc;
	cursor: not-allowed;
}

.oopsyhr-clock-in-btn,
.oopsyhr-clock-out-btn {
	margin-top: 15px;
	min-width: 150px;
}

/* Timesheet Widget */
.timesheet-summary {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
	margin-top: 15px;
}

.summary-item {
	text-align: center;
	padding: 15px;
	background: #f7f7f7;
	border-radius: 4px;
}

.summary-item .label {
	display: block;
	font-size: 14px;
	color: #666;
	margin-bottom: 5px;
}

.summary-item .value {
	display: block;
	font-size: 24px;
	font-weight: 600;
	color: #2271b1;
}

/* PTO Balance Widget */
.balance-items {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
	margin-top: 15px;
}

.balance-item {
	text-align: center;
	padding: 15px;
	background: #f7f7f7;
	border-radius: 4px;
}

.balance-item .label {
	display: block;
	font-size: 14px;
	color: #666;
	margin-bottom: 5px;
}

.balance-item .value {
	display: block;
	font-size: 24px;
	font-weight: 600;
	color: #2271b1;
}

/* PTO Request Form */
.oopsyhr-pto-request-form {
	margin-top: 15px;
}

.form-field {
	margin-bottom: 15px;
}

.form-field label {
	display: block;
	margin-bottom: 5px;
	font-weight: 600;
	color: #333;
}

.form-field select,
.form-field input[type="date"],
.form-field textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
}

.form-field textarea {
	resize: vertical;
}

/* Responsive */
@media (max-width: 768px) {
	.timesheet-summary {
		grid-template-columns: 1fr;
	}

	.balance-items {
		grid-template-columns: 1fr;
	}
}