.rpd-form, .rpd-confirmation {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.rpd-step {
    margin-bottom: 20px;
}

.rpd-statement {
    margin-bottom: 20px;
	color: #000;
}

.rpd-language-switcher select {
    margin-bottom: 20px;
    padding: 5px;
}

.rpd-button {
    display: inline-block;
    padding: 10px 20px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
	font-size: 2rem;
}

.rpd-participant {
    margin-bottom: 17px;
	position: relative;
}

.rpd-participant input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
}
#rpd-qr-code, .rpd-qr-code {
    margin: 0px 0;
}

.rpd-promo-section { 
    border-radius: 5px;
}

/* Style dla panelu administracyjnego */
.rpd-admin-filter {
    margin-bottom: 20px;
}

.rpd-admin-filter label {
    margin-right: 10px;
}

.rpd-admin-filter input[type="date"],
.rpd-admin-filter input[type="text"] {
    padding: 5px;
    margin-right: 10px;
}

.rpd-admin-filter .button {
    vertical-align: middle;
}
/* Modal Styles */ 
.rpd-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.rpd-modal-content {
    background-color: #fefefe;
    margin: 0% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 100%;
    max-width: 600px;
    position: relative;
    color: #000;
} 

.rpd-modal-close {
    color: #000000;
    float: right;
    font-size: 2.5rem;
    font-weight: bold;
}

.rpd-modal-close:hover,
.rpd-modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.rpd-links {
    margin: 15px 0;
}

.rpd-links a {
    margin-right: 15px;
    text-decoration: underline;
    cursor: pointer;
}
/* Styl samego inputa uczestnika*/
.rpd-participant label {
    position: absolute;
    background-color: #fff;
    top: -16px;
    left: 12px;
    padding: 0 5px 0 5px;
    color: #000 !important;
    font-size: 1.4rem;
}
.rpd-participant input[type="text"] {
    background-color: #fff !important;
    border: 1px solid #000;
    border-radius: 7px;
	padding: 0 5% 0 2%;
    height: 66px;
    font-size: 36px;
}
.rpd-participant input[type="text"], #rpd-guardian {
    text-transform: uppercase;
} 
#rpd-guardian-only-container {
    position: relative;
	margin-bottom: 15px;
} 
#rpd-guardian-only-container label {
    position: absolute;
    background-color: #fff;
    top: -20px;
    left: 12px;
    padding: 0 5px 0 5px;
    color: #000 !important;
    font-size: 1.4rem;
}
#rpd-guardian {
    background-color: #fff !important;
    border: 1px solid #000;
    border-radius: 7px;
	padding: 0 5% 0 2%;
    height: 66px;
    font-size: 36px;
	width: 100%;
}
.rpd-error-message {
    color: red;
    font-size: 12px;
    display: block;
    margin-top: 5px;
}

.rpd-input-error {
    border: 1px solid red !important;
}
button#rpd-add-participant {
    width: 100%;
    font-size: 1.8rem;
    border: none;
    padding: 3%;
}
button.rpd-button {
    width: 100%;
}
/*Stylizacja tutulów kroków*/
.rpd-form h2 {
    font-weight: bolder !important;
    font-size: 2.6rem !important;
    margin-bottom: 0.8rem;
}
.rpd-language-switcher {	
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	display: flex;
	justify-content: space-around;
	align-items: center;
	padding: 3%;
}

.rpd-language-switcher a {
    margin-right: 10px;
    text-decoration: none;
    color: #000;
    cursor: pointer;
	text-decoration: none !important;
}

.rpd-language-switcher a.additional {
    font-weight: bold;
    text-decoration: underline;
    color: #000;
	display: none;
	text-decoration: none !important;
}
/* Styl sygantur*/
#rpd-step-4 label {
	display: none;
}
#rpd-signature-only-container {
    position: relative;
}
.rpd-signature-body-container {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
.rpd-signature-wrap-container {
    position: relative;
    height: 300px;
	width: 100% !important;
}
body .signature-finger-remove {
    background: #fff !important;
    background-color: #fff !important;
    background: url(../img/finger-signtaure-empty.jpg) !important;
}
#rpd-signature-canvas {
    border: 1px solid #000;
    display: block;
    margin-bottom: 10px;
	border: 1px solid rgba(0, 0, 0, .6);
    width: 100%;
	height: 100%;
    box-shadow: 0 2px 32px 0 rgba(0, 0, 0, 0.1);
    touch-action: auto !important;
	background: url(../img/finger-signtaure.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center; 
	background-color: #fff !important;
}
p#rpd-signature-percentage {
    text-align: right;
    z-index: -1;
    position: relative;
    display: none;
}

.rpd-step-title-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rpd-replay-audio-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rpd-replay-audio-button svg {
    width: 32px;
    height: 32px;
    fill: #000;
}
/* Przycisk Asystenta Głosowego*/
#rpd-replay-audio, #rpd-replay-audio-step-3, #rpd-replay-audio-step-4 {
    width: 100%;
    margin-top: 4%;
}
/* Przycisk usun w oswiadczeniu */
.rpd-delete-participant {
    position: absolute;
    right: 2px;
    height: 61px;
    top: 7px;
    border-radius: 5px;
    font-size: 1.5rem;
    padding: 0px 10px 0 10px;
    border: none !important;
}
/* Przycisk wyczysc podpis*/
#rpd-clear-signature {
    background: transparent;
    border: none;
    margin: 10px 0 10px 0;
}
/* Stylizacja oststaniego kroku potwierdzenia */
.rpd-confirmation h2 {
    font-size: 3rem !important;
    font-weight: bolder;
    text-align: center;
	color: #000;
	margin-bottom: 0;
}

.rpd-qr-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px 0;
}

.rpd-verification-code {
    font-size: 2.5rem;
    font-weight: bold;
    color: #000;
    writing-mode: vertical-rl;
    transform: rotate(0deg);
    margin-right: 20px;
}
/* Dyplomy */
.diplomcontainer {
    position: relative;
    overflow: hidden;
    max-width: 100%;
	padding: 3% 0 0 0;
}
.diplompromotxt1 {
    position: absolute;
    background: #ff0000;
    z-index: 104 !important;
    color: #fff;
    left: 15%;
    top: 2%;
    border-radius: 15px;
    padding: 10px;
    width: 110px;
    font-weight: bold;
    height: 67px;
    text-align: center;
    transform: rotate(350deg);
    z-index: 0;
    line-height: 1.42rem;
}
.diplom-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    margin-top: 10%;
}
.diplompromotxt1 p {
    font-size: 1.7rem !important;
}
.diplomitem {
    flex: 0 0 100%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.diplompromotxt2pl {
    position: absolute;
    background: #007cff;
    z-index: 99;
    color: #fff;
    left: 23%;
    top: 12%;
    border-radius: 10px;
    padding: 10px;
    width: 130px;
    font-weight: bold;
    height: 57px;
    text-align: center;
}
.diplomitem p {
    position: relative;
}

.diplompromotxt2pl p {
    font-size: 1.7rem !important;
    padding: 0 !important;
    margin: 0 !important;
}
a.diplom-buy-txt {
    color: #fff !important;
    padding: 0;
    margin: 0;
	text-decoration: none !important;
}
.diplomitem img {
    border-radius: 10px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
    z-index: 1;
    position: relative;
}
.diplom-buy {
    display: block;
    padding: 15px 15px;
    background-color: #f6931e !important;
    color: white !important;
    text-decoration: none;
    border-radius: 100%;
    transition: background-color 0.3sease;
    position: absolute;
    top: -14%;
    z-index: 99;
    right: -15%;
    width: 130px;
    height: 130px;
    font-size: 2.4rem;
    line-height: 2.4rem !important;
	text-decoration: none !important;
}
.rpd-congratulations {
    color: #000;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0;
	font-weight: bolder;
}
@media (max-width: 768px) {
    .diplom-prev, .diplom-next {
        width: 100px;
        height: 100px;
    }
}

.diplom-prev {
    left: -25px;
}
.diplom-next {
    right: -25px;
}
.diplom-prev, .diplom-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    width: 120px;
    height: 120px;
    display: flex
;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
@media (max-width: 768px) {
    .diplom-prev img, .diplom-next img {
        width: 100px;
        height: 100px;
    }
}
.diplom-prev img, .diplom-next img {
    width: 120px;
    height: 120px;
    filter: invert(20%);
}
.linnkitem {
    text-align: center;
    font-size: 2rem;
    background-color: #007dfe;
    color: #fff;
	border-radius: 15px;
}
.linnkitem a {
    color: #fff !important;
    text-decoration: none !important;
    display: block;
    padding: 10px 0;
	font-weight: bolder;
}
/* Stylizacja linkow*/
.rpd-modal-link {
    font-weight: bolder;
    color: #000;
}
