/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* Button Styles - Improved colors */
.button {
	display: inline-block;
	text-decoration: none;
	font-size: 13px;
	line-height: 2.15384615;
	min-height: 32px;
	margin: 0 4px 0 0;
	padding: 0 16px 1px;
	cursor: pointer;
	border-width: 1px;
	border-style: solid;
	appearance: none;
	-webkit-appearance: none;
	border-radius: 4px;
	font-family: inherit;
	font-weight: 500;
	transition: all 0.15s ease-in-out;
	background: #f6f7f7;
	border-color: #c6c6c6;
	color: #32373c;
	box-shadow: 0 1px 0 #c6c6c6;
	text-shadow: none;
}

.button:hover {
	background: #f0f0f1;
	border-color: #999;
	color: #000;
	box-shadow: 0 1px 0 #999;
}

.button:focus {
	background: #f0f0f1;
	border-color: #ffb300;
	color: #000;
	box-shadow: 0 0 0 1px #ffb300, 0 1px 0 #999;
	outline: none;
}

.button:active {
	background: #ddd;
	border-color: #999;
	box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
	transform: translateY(1px);
}

.button-primary {
	background: #dc3232;
	border-color: #dc3232;
	color: #FFF;
	text-decoration: none;
	text-shadow: none;
	box-shadow: 0 1px 0 #dc3232;
}

.button-primary:hover {
	background: #dc3232;
	border-color: #dc3232;
	color: #FFF;
	box-shadow: 0 1px 0 #dc3232;
}

.button-primary:focus {
	background: #dc3232;
	border-color: #dc3232;
	color: #FFF;
	box-shadow: 0 0 0 1px #dc3232, 0 1px 0 #dc3232;
}

.button-primary:active {
	background: #dc3232;
	border-color: #dc3232;
	box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
	transform: translateY(1px);
}

/* Document Styles */
.document-details {
	margin: 20px 0;
	padding: 20px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.document-details h3 {
	margin-top: 0;
	color: #1d2327;
	font-size: 1.25em;
	font-weight: 600;
}

.document-details table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 15px;
}

.document-details th,
.document-details td {
	padding: 10px 12px;
	text-align: left;
	border-bottom: 1px solid #e1e1e1;
	font-size: 14px;
}

.document-details th {
	background: #f8f9fa;
	font-weight: 600;
	color: #1d2327;
	border-bottom: 2px solid #ddd;
}

.document-actions {
	margin: 25px 0;
	text-align: center;
	padding: 15px;
	background: #f8f9fa;
	border-radius: 4px;
	border: 1px solid #e1e1e1;
}

.document-actions .button {
	margin: 0 8px;
	font-size: 14px;
	font-weight: 500;
}

.document-preview {
	margin: 20px 0;
	padding: 20px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.document-preview iframe {
	width: 100%;
	height: 600px;
	border: none;
	border-radius: 3px;
}

/* Specific button styles */
.button-preview {
	background: #e1e1e1;
	border-color: #c6c6c6;
	color: #32373c;
	box-shadow: 0 1px 0 #c6c6c6;
}

.button-preview:hover {
	background: #d7d7d7;
	border-color: #999;
	color: #000;
	box-shadow: 0 1px 0 #999;
}

.button-preview:focus {
	background: #d7d7d7;
	border-color: #ffb300;
	color: #000;
	box-shadow: 0 0 0 1px #ffb300, 0 1px 0 #999;
}

.button-hide {
	background: #dc3232;
	border-color: #dc3232;
	color: #fff;
	box-shadow: 0 1px 0 #a00;
}

.button-hide:hover {
	background: #c42c2c;
	border-color: #c42c2c;
	color: #fff;
	box-shadow: 0 1px 0 #a00;
}

.button-hide:focus {
	background: #c42c2c;
	border-color: #dc3232;
	color: #fff;
	box-shadow: 0 0 0 1px #dc3232, 0 1px 0 #a00;
}

.button-hide:active {
	background: #a00;
	border-color: #a00;
	box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
	transform: translateY(1px);
}