/** 
 * Main CSS
 * Sasky
*/

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    margin: 0px;
    padding: 40px;
    background-size: cover;
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0px;
}

#wpadminbar #wp-admin-bar-search {
    display: none;
}


.text-center {
    text-align: center;
}

/** Cover Spin Loading **/
#relativerolls-spin {
	position:fixed;
	width:100%;
	left:0;right:0;top:0;bottom:0;
	background-color: rgba(255,255,255,0.7);
	z-index:9999;
	display:none;
}

#relativerolls-spin::after {
	content:'';
	display:block;
	position:absolute;
	left:calc(50% - 22px);
	top:calc(50% - 22px);
	width:44px;
	height:44px;
	border-style:solid;
	border-color:black;
	border-top-color:transparent;
	border-width: 4px;
	border-radius:50%;
	-webkit-animation: spin .8s linear infinite;
	-moz-animation: spin .8s linear infinite;
	animation: spin .8s linear infinite;
}

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

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

/** Scrollbar **/
/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #6803320F; 
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #80173D; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #A72A57; 
}

#relativerolls-page-body {
    margin: 0px;
    padding: 0px;
}

#relativerolls-page-header {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

#relativerolls-page-header p {
    font-weight: bold;
    color: #680332;
}

#relativerolls-page-footer {
    text-align: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

#relativerolls-page-footer p {
    font-size: 12px;
    margin: 40px;
}

.relativerolls-container {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    gap: 0px;
}

.relativerolls-access-container {
    margin: auto;
    width: 100%;
    max-width: 600px;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.relativerolls-access-success-box {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.relativerolls-access-success-box a {
    font-size: 14px;
    text-decoration: none;
}

.relativerolls-access-login-box {
    text-align: center;
}

#relativerolls-access-otp-field .relativerolls-submit-btn,
#relativerolls-access-login-field .relativerolls-submit-btn {
    float: unset;
}

.relativerolls-access-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333333;
}

#relativerolls-access-response {
    margin-bottom: 20px;
}

#relativerolls-access-response p.error {
    color: #680332;
    font-weight: normal;
}

.relativerolls-access-input-group.text-center {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap: 0px;
}

.relativerolls-access-input-group.email-address p {
    margin: 0px;
}

.relativerolls-checkbox-group-field {
    padding: 10px 0px;
}

.relativerolls-input-group-fields {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
}

.relativerolls-input-field {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center;
}

.relativerolls-submit-btn {
    margin-top: 20px;
    padding: 10px 15px;
    font-size: 16px;
    color: #ffffff;
    background-color: #80173D;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    float: right;
}

.relativerolls-submit-btn:hover {
    background-color: #A72A57;
}

.relativerolls-response.fail,
.relativerolls-response.success {
    border-radius: 10px;
    padding: 20px;
}

.relativerolls-response.fail {
    background-color: #FFD1D1;
}

.relativerolls-response.success {
    background-color: #C6EBC4;
}

.relativerolls-response p.success {
    font-size: 16px;
    font-weight: bold;
    color: #024f02;
    text-align: center;
}

.relativerolls-response p.error {
    font-size: 16px;
    font-weight: bold;
    color: #680332;
}

.relativerolls-response li.error {
    font-size: 14px;
    color: #680332;
}


/* Account Page */
#relativerolls-access-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.relativerolls-logo img {
    width: 80px;
}

.customer-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.customer-details .customer-nickname h4 {
    font-size: 30px;
}

.registration-date h4 {
    font-size: 14px;
}

.logout-action a {
    font-size: 14px;
    text-decoration: none;
    color: #333333;
}

.customer-points h4 {
    font-size: 24px;
}

/* Time Clock */
#pin-login-form {
	display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    padding: 10px;
}

#pin-login-form input {
    padding: 6px 20px;
}

#pin-login-form input[type="submit"] {
	color: #FFFFFF;
    background-color: #ee9910;
    border: none;
    border-radius: 4px;
}

.relativerolls-response p.fail {
	text-align: center;
    color: red;
    font-weight: bold;
}
    
#aio_time_clock {
	padding-top: 10px;
}

.aio_form button {
    background: #ee9910;
}

.aio_form button:hover {
	background: #a96800;
}

.time-clock-logo {
	text-align: center;
}

.time-clock-logo img {
	width: 20%;
}

.not-connected-to-store {
    color: red;
	text-align: center;
    font-size: 20px;
    font-weight: bold;
}