.tml * {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.tml .error,
.tml .message,
.tml .success {
	padding: 1em;
}

.tml .error {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(255, 0, 0, 0.5);
	text-align: center;
    /* Osigurava da bude iznad forme */
    display: block;
    margin-bottom: 20px;
	background: #262728;
}

.tml .error a {
	color: #ff0100;
}

/* Stilizacija poruke */
.tml .message {
    background-color: #262728;
    color: #ffffff;
    width: 100%;
    max-width: 800px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
    text-align: center;
    /* Osigurava da bude iznad forme */
    display: block;
    margin-bottom: 20px; /* Dodatni razmak ispod poruke */
	border: none;
}

/* Osigurava da je poruka iznad forme */
#theme-my-login {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centriranje */
}

.tml .message a {
	color: #66512c;
}

.tml .success {
	border: 1px solid #d6e9c6;
	background-color: #dff0d8;
	color: #3c763d;
}

.tml .success a {
	color: #2b542c;
}

.tml p {
	margin: 0 0 1.5em 0;
	padding: 0;
}

.tml label {
	display: block;
	text-align: left;
}

.tml .tml-rememberme-wrap label {
	display: inline;
	font-size: 90%;
	margin-left: 3px;
}

.tml input,
.tml textarea,
.tml select {
	margin: 0.5em 0;
	width: 100%;
	border: 1px solid #444444;
}

.tml input[type="text"], 
.tml input[type="password"],
.tml input#phone {
    background-color: #181818;
    border: 1px solid #444444; 
	color: #ffffff;
}

input#user_email1.input:focus,
input#user_login1.input:focus,
input#user_login2.input:focus,
#theme-my-login textarea#description:focus,
#theme-my-login input:not(#pass1):focus,
#theme-my-login textarea:focus,
#theme-my-login select:focus {
	border-color: #ff0100;
    box-shadow: 0 0 5px #ff0100;
} 

.tml input[type="checkbox"]:focus {
    outline: none;
	border-color: #ff0100;
    box-shadow: 0 0 5px #ff0100; /* Postavlja novu boju oko checkbox-a */
}

.tml input[type="checkbox"],
.tml input[type="radio"],
.tml .tml-rememberme-wrap input {
	vertical-align: bottom;
	appearance: none;
    width: 23px;
    height: 23px;
    border: 1px solid #444444;
    background-color: #181818;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
}

#theme-my-login input#rememberme {
  top: 4px;
}

#theme-my-login input#admin_bar_front{
	top: 4px;
    right: 5px;	
}

#theme-my-login span.description {
    font-size: 14px;
    font-style: italic;
    color: #ff0000;
}

#theme-my-login textarea#description {
    background-color: #181818;
    color: #ffffff;
	border: 1px solid #444444;
}

#theme-my-login select#display_name {
    background-color: #181818;
    color: #ffffff;
	border: 1px solid #444444;
}

#theme-my-login input#player_search {
	width: 100% !important;
}

.tml input[type="checkbox"]:checked {
    background-color: red; /* Menja boju pozadine checkbox-a */
    border-color: red;
}

.tml input[type="checkbox"]::before {
    content: '✔';
    font-size: 16px;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.tml input[type="checkbox"]:checked::before {
    display: block; /* Prikazuje checkmark */
}

td label[for="admin_bar_front"] {
    font-size: 14px; /* Prilagodi veličinu teksta */
    margin-left: 80px;
	font-style: italic;
    color: #ff0000;
	margin-bottom: 15px;
}

/*.tml input[type="password"]:focus {
    border-color: #ff0100;
    box-shadow: 0 0 5px #ff0100;
}*/

.tml-user-links a:hover {
    color: #ffffff;
}

.tml .tml-action-links {
	margin-top: 30px;
}

.tml .tml-action-links li {
	border: none;
	border-right: 1px solid #ffffff;
	float: left;
	line-height: 1;
	list-style: none;
	margin: 0 0.5em 0 0;
	padding: 0 0.5em 0 0;
}

.tml .tml-action-links li:last-child {
	border-right: none;
	margin-right: 0;
	padding-right: 0;
}

.tml .tml-action-links a {
	border: none;
	display: block;
	padding: 0;
	text-decoration: none;
}

.tml .tml-action-links a:hover {
    color: #ffffff;
	text-decoration: none;
}
.tml .tml-action-links a {
    text-decoration: underline;
}

.tml .tml-submit-wrap input {
    border: 3px solid #ff0100;
}

.tml .tml-rememberme-submit-wrap:before,
.tml .tml-rememberme-submit-wrap:after,
.tml .tml-action-links:before,
.tml .tml-action-links:after {
	content: "";
	display: table;
}

.tml .tml-rememberme-submit-wrap:after,
.tml .tml-action-links:after {
	clear: both;
}

.tml .tml-user-avatar {
	text-align: left;
}

.mu_register .hint {
	font-size: 12px;
	margin-bottom: 10px;
	display: block;
}

.mu_register label.checkbox {
	display: inline;
}

#pass-strength-result {
	background-color: #eee;
	border: 1px solid #ddd;
	color: #23282d;
	font-weight: 600;
	margin: -1px 0 1.5em;
	padding: 3px 5px;
	text-align: center;
	width: 100%;
	opacity: 0;
}

#pass-strength-result.short {
	background-color: #f1adad;
	border-color: #e35b5b;
	opacity: 1;
}

#pass1.short,
#pass1-text.short {
	border-color: #e35b5b;
}

#pass-strength-result.bad {
	background-color: #fbc5a9;
	border-color: #f78b53;
	opacity: 1;
}

#pass1.bad,
#pass1-text.bad {
	border-color: #f78b53;
}

#pass-strength-result.good {
	background-color: #ffe399;
	border-color: #ffc733;
	opacity: 1;
}

#pass1.good,
#pass1-text.good {
	border-color: #ffc733;
}

#pass-strength-result.strong {
	background-color: #c1e1b9;
	border-color: #83c373;
	opacity: 1;
}

#pass1.strong,
#pass1-text.strong {
	border-color: #83c373;
}

.tml .password-input-wrapper {
	display: table;
	width: 100%;
}

.tml .input.password-input {
	display: table-cell;
}

.tml .pw-weak {
	display: none;
	margin-bottom: 1.5em;
}

.tml .wp-hide-pw {
	cursor: pointer;
	display: table-cell;
	margin: 0;
	padding: 0 0.5em;
	text-align: center;
	vertical-align: middle;
	white-space: nowrap;
	padding: 12px 20px 12px 20px; 
    margin-right: 10px;
}

#pass1,
#pass1-text {
	width: 100%;
}

#pass1-text,
.show-password #pass1 {
	display: none;
}

.show-password #pass1-text
{
	display: inline-block;
}

@media (max-width: 768px) {
	.tml {
		max-width: 500px;
	}

	.tml .tml-submit-wrap input {
		width: auto;
	}

	.tml-login .tml-rememberme-submit-wrap {
		display: table;
		margin-bottom: 1.5em;
		width: 100%;
	}

	.tml-login .tml-rememberme-wrap {
		display: table-cell;
	}

	.tml-login .tml-submit-wrap {
		display: table-cell;
		text-align: right;
	}

	.tml-login .tml-submit-wrap input {
		margin: 0;
		width: auto;
	}
	
	#theme-my-login input#admin_bar_front {
        top: -4px;
    }
	
	td label[for="admin_bar_front"] {
        font-size: 14px;
        margin-left: 100px;
    }
	
	#theme-my-login button.wp-cancel-pw {
    margin-top: 10px;
    }
	
	#theme-my-login,
	#theme-my-login.tml.tml-profile {
    padding: 0px !important;
    }
}

@media (max-width: 480px){
		td label[for="admin_bar_front"] {
        margin-left: 0px;
    }
	
}

/* Omotač forme */
#theme-my-login {
    display: flex;
    justify-content: center;
    align-items: center;

    box-sizing: border-box;
    background-color: transparent;
}

#theme-my-login.tml.tml-profile {
	display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    background-color: transparent;
    margin-bottom: 50px;
	margin-top: 20px;
}

/* Stilizacija forme */
#theme-my-login.tml.tml-profile form#your-profile {
    background-color: #262728;
    color: #ffffff;
    width: 100%;
    max-width: 800px; /* Maksimalna širina forme */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
}

/* Stilizacija labela i input polja */
#theme-my-login form th,
#theme-my-login form td,
#theme-my-login form input,
#theme-my-login form select,
#theme-my-login form textarea {
    padding: 10px;
}

/* Novi kontejner koji grupiše poruku i formu */
.tml-container {
    display: flex;
    flex-direction: column; /* Prikazuje sadržaj jedan ispod drugog */
    align-items: center; /* Centriranje sadržaja */

    width: 100%;
    max-width: 500px;
}

/* Stilizacija forme */
#theme-my-login form#resetpassform,
#theme-my-login form#loginform,
#theme-my-login form#registerform,
#theme-my-login form#lostpasswordform {
    background-color: #262728;
    color: #ffffff;
    width: 100%;
	max-width: 800px; /* Maksimalna širina forme */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
}

/* Stilizacija automatski popunjenih polja */
#loginform input:-webkit-autofill,
#loginform input:-webkit-autofill:hover,
#loginform input:-webkit-autofill:focus,
#loginform input:-webkit-autofill:active {
    background-color: #181818 !important;
    -webkit-box-shadow: 0 0 0px 1000px #181818 inset !important;
    box-shadow: 0 0 0px 1000px #181818 inset !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
}

/* One User Avatar Chose dugme stil */
#wpua-file-existing {
    background-color: #181818;
    color: #ffffff;
    border: 1px solid #444;
    padding: 10px;
    cursor: pointer;
    width: 100%;
    max-width: 300px;
}






.tml-register-form,
.tml-loginform-form,
.tml-lostpassword-form {
    width: 100%;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
	background: #262728;
}




.tml-check {
    color: #00ff5e;
    font-weight: bold;
    font-size: 20px;
}

.tml-error {
    color: #ff4d4d;
    font-weight: bold;
    font-size: 20px;
}

.tml-info {
    color: #4da6ff;
    font-weight: bold;
    font-size: 20px;
	vertical-align: -2px !important;
}
