
body {
	background: #fff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: normal;
	line-height: 1;
	margin: 0;

	padding: 0;
}
p {
	color: #252525;
	line-height: 24px;
	margin: 0;
	margin-top: 10px;
	padding: 0;
}
p a {
	color: #252525;
	text-decoration: underline;
}
p a:hover {
	color: #898989;
}


#header {
	margin: 0 auto;
	padding: 14px 0 10px;
	text-align: center;
	width: 960px;
	width: 340px;
	height: 100px;
}
#header a.logo {

	margin: 0 auto;
	padding: 0;

}
#header a.logo img {
	border: 0;

	margin: 0;
	padding: 0;
	width: 340px;
	height: 100px;
}

#body {
	margin: 0;
	padding: 0 0 30px;
	text-align: center;
	min-height: 500px;
}



#body h1 {

	color: #000;
	display: inline-block;
	font-family: "Arial Black", Gadget, sans-serif;
	font-size: 28px;
	font-weight: normal;
	margin: 0 0 10px;
	padding: 8px 27px 0px;
}
#body h1 span {
	background: #252525;
	display: inline-block;
	padding: 15px 28px 12px;
}
#body > div {
	margin: 0 auto;
	padding: 0;
	width: 960px;
}
#body > div img {
	border: 2px solid #292929;
	margin: 24px 0 0;
	padding: 0;
}


#premfeatures li {
	line-height: 2;
	margin-left: 20px;
	margin-top: 0px;
	padding-top: 0px;
}

#body div ul li {
	overflow: visible;
	padding: 0 0 5px;
	width: 99%;
}

#body div ul li img {
	border: 0;
	display: block;
	margin: 0;
	padding: 0;
	opacity: 0.8;
	transition: 0.5s ease-in-out;
}

#body div ul li div {
	float: left;
	margin: 0;
	padding: 63px 0 20px;
	width: 558px;
}
#body div ul li div h3 {
	color: #252525;
	font-family: "Arial Black", Gadget, sans-serif;
	font-size: 25px;
	font-weight: normal;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
}
#body div ul li div p {
	padding: 30px 30px 18px;
}

#body #featured {
	margin: 0 0 13px;
	padding: 0;
	position: relative;
	width: 100%;
	text-align: left;
}
#body #featured img {
	border: 0;
	display: block;
	margin: 0;
	padding: 0;
	width: 100%;
}
#limitannounce {
	display: none;
	width: 350px; 
	width: 98%; 
	height: 100px;
}


#body #featured div span {
	background: #252525;
	color: #fff;
	display: inline-block;
	font-size: 20px;
	margin: 7px 0;
	padding: 12px 27px;
}
#body #featured div a {
	background: #0ba39c;
	color: #fff;
	display: inline-block;
	font-size: 16px;
	margin: 15px 0 0;
	padding: 26px 27px 22px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
}
#body #featured div a:hover {
	background: #1fc3bc;
}
#body > ul {
	margin: 0 auto;
	overflow: hidden;
	padding: 24px 0 0;
	width: 960px;
}
#body > ul li {
	display: block;
	float: left;
	margin: 0 10px 20px;
	padding: 0;
	width: 300px;
}

#body > ul li a img {
	border: 2px solid #1a1a1a;
	display: block;
	margin: 0;
	padding: 0;
	opacity: .8;
	transition: 0.5s ease-in-out;
}
#body > ul li a:hover img {
	opacity: 1;
}
#body > ul li a span {
	display: block;
	margin: 0;
	padding: 33px 0 0;
}
#body form {
	margin: 0 auto;
	padding: 24px 0 0;
	width: 620px;
}
#sprachwahl {
	border: 2px solid #252525;
	color: #252525;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-weight: normal;
	width: 45%;
}
.subbuttons {
	border: 2px solid #252525;
	color: #252525;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-weight: normal;
	height: 34px;
	width: 26%;
}
#body form textarea {
	border: 2px solid #252525;
	color: #252525;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-weight: normal;
	margin: 0 0 9px;
	padding: 10px;
	text-align: left;
	width: 94.5%;
}
#body form textarea {
	height: 200px;
	overflow: auto;
}

input[type="submit"] {
	cursor: pointer;
}

h3 {
	font-size: 20px;
}
h5 {
	margin-top: 25px;
	margin-bottom: 10px;
	font-size: 15px;
}
h6 {
	font-size:25px;
	margin-bottom: 10px;
	margin-top: 20px;
	color: #606060;
}
#introtext {
	width: 70%;
}
a {
	color: #4287f5;
	text-decoration: none;
}

.tabs {
  overflow: visible;
  text-align: center;
  position: relative;
}
.tab {
	position: relative;
  background-color: #f1f1f1;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
}

.tab:hover {
  background-color: #ddd;
}

.tabfocus {
  background-color: #ccc;
  position: relative;
}

.tabnew::after {
	
	content: "*New*";
	color: red;
	overflow: visible;
	font-weight: bold;
	position: absolute;
	top: 2px;
	right: -5px;
	background-color: transparent;
	padding: 2px 5px;
	
	border-radius: 5px;
	font-size: 10px;
	transform: rotate(10deg);
	z-index: 10;
}

.flex-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.flex-item {
  flex-basis: 100%;
  margin-bottom: 20px; 
}

.gadsunit { width: 320px !important; text-align: center; }
@media(min-width: 500px) { .gadsunit { width: 468px !important; } }
@media(min-width: 800px) { .gadsunit { width: 728px !important; } }

@media(max-width: 800px) {
	.tabber a {
		width: 100%;
	}
}
.tabber {
    overflow: hidden;
    background-color: #f1f1f1;
}

.tabber a {
    background-color: inherit;
    display: inline-block;
    color: black;
    padding: 14px 16px;
    text-align: center;
    text-decoration: none;
    transition: 0.3s;
    cursor: pointer;
}

.tabber a:hover {
    background-color: #ddd;
}

.tabber a.active {
    background-color: #ccc;
}

.tabcontent {
    display: none;
    padding: 20px;
    border-top: 1px solid #ccc;
	text-align: left;
}
.tabcontent h2 {
	text-align: center;
}

.manage-account-btn {
	cursor: pointer;
	display: inline-block;
	background-color: #4CAF50; /* Green background */
	color: white; /* White text */
	padding: 12px 24px; /* Some padding */
	font-size: 16px; /* Increased font size */
	font-family: 'Arial', sans-serif; /* Font family */
	text-align: center; /* Center the text */
	text-decoration: none; /* Remove underline */
	border: none; /* Remove borders */
	border-radius: 8px; /* Rounded corners */
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Box shadow for better visual */
	transition: background-color 0.3s ease-in-out; /* Smooth transition */
}

.manage-account-btn:hover {
	background-color: #45a049; /* Darker green on hover */
}

.manage-account-btn:active {
	background-color: #3e8e41; /* Even darker green on click */
}


#support .ticket-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
}

#support .ticket-form h2 {
    margin-bottom: 20px;
    text-align: center;
}

#support .form-group {
    margin-bottom: 15px;
}

#support .form-group label {
    display: block;
    margin-bottom: 5px;
}

#support .form-group input, 
#support .form-group textarea {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#support textarea {
    resize: vertical;
    height: 100px;
}

#support button {
    width: 100%;
    padding: 10px;
    background-color: #0288d1;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#support button:hover {
    background-color: #0277bd;
}

.instruction-toggle {
	margin: 15px 0;
	display: flex;
	align-items: center;
	gap: 10px;
}

.toggle-switch {
	position: relative;
	width: 50px;
	height: 24px;
	background-color: #ccc;
	border-radius: 12px;
	cursor: pointer;
	transition: background-color 0.3s;
}

.toggle-switch.active {
	background-color: #4CAF50;
}

.toggle-slider {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 20px;
	height: 20px;
	background-color: white;
	border-radius: 50%;
	transition: transform 0.3s;
}

.toggle-switch.active .toggle-slider {
	transform: translateX(26px);
}

.instructions-section {
	margin: 15px 0;
	padding: 15px;
	border: 2px solid #aeeeee;
	border-radius: 8px;
	background-color: #f9f9f9;
	display: none;
}

.instructions-section.active {
	display: block;
}

#instructiontext {
	width: 100%;
	height: 80px !important;
	margin-bottom: 10px;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
	resize: vertical;
}

.instruction-buttons {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.instruction-btn {
	padding: 8px 15px;
	background-color: #007cba;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	transition: background-color 0.3s;
}

.instruction-btn:hover {
	background-color: #005a87;
}

.instruction-btn.clear {
	background-color: #dc3545;
}

.instruction-btn.clear:hover {
	background-color: #c82333;
}

.instruction-btn.random {
	background-color: #17a2b8;
}

.instruction-btn.random:hover {
	background-color: #138496;
}

.instruction-btn.help {
	background-color: #28a745;
}

.instruction-btn.help:hover {
	background-color: #1e7e34;
}

.range-container.disabled {
	opacity: 0.5;
	pointer-events: none;
}



/* Task Queue Styles */
#task-queue {
    max-width: 800px;
    margin: 30px auto;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

#task-queue h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 20px;
    text-align: center;
    font-weight: 600;
}

#queue-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.queue-item {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.queue-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #6c757d;
}

.queue-item.status-queued::before {
    background: #ffc107;
}

.queue-item.status-processing::before {
    background: #17a2b8;
}

.queue-item.status-completed::before {
    background: #28a745;
}

.queue-item.status-failed::before {
    background: #dc3545;
}

.queue-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.queue-item-info {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.queue-speaker {
    font-weight: 600;
    color: #2c3e50;
    font-size: 16px;
    text-transform: capitalize;
}

.queue-preview {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    max-width: 500px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.queue-time {
    color: #999;
    font-size: 12px;
    font-style: italic;
}

.queue-item-status {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.status-icon {
    font-size: 20px;
    margin-right: 5px;
    display: inline-block;
}

.spinning {
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.queue-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.play-btn {
    background: #007bff;
    color: white;
}

.play-btn:hover {
    background: #0056b3;
    transform: scale(1.05);
}

.download-btn {
    background: #28a745;
    color: white;
}

.download-btn:hover {
    background: #218838;
    transform: scale(1.05);
}

.error-msg {
    color: #dc3545;
    font-size: 13px;
    font-style: italic;
    max-width: 200px;
}

/* Status text styling */
.queue-item-status span {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    font-size: 14px;
}

/* Processing animation background */
.status-processing {
    background: linear-gradient(270deg, #f0f8ff, #f8f9fa, #f0f8ff);
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Completed state */
.status-completed {
    background: #f0fff4;
}

/* Failed state */
.status-failed {
    background: #fff5f5;
}

/* Responsive design */
@media (max-width: 768px) {
    #task-queue {
        margin: 20px 10px;
        padding: 20px 15px;
    }
    
    .queue-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 15px;
    }
    
    .queue-item-info {
        width: 100%;
    }
    
    .queue-preview {
        white-space: normal;
        max-width: 100%;
    }
    
    .queue-item-status {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .queue-btn {
        font-size: 13px;
        padding: 6px 12px;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    #task-queue {
        background: #2c3e50;
        border-color: #34495e;
        color: #ecf0f1;
    }
    
    #task-queue h3 {
        color: #ecf0f1;
    }
    
    .queue-item {
        background: #34495e;
        border-color: #2c3e50;
    }
    
    .queue-speaker {
        color: #3498db;
    }
    
    .queue-preview {
        color: #bdc3c7;
    }
    
    .queue-time {
        color: #95a5a6;
    }
}

/* Empty state */
#task-queue:has(#queue-items:empty)::after {
    content: "No tasks in queue";
    display: block;
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 20px;
}