/* Daily card specific styling - NOW USES SAME STRUCTURE AS SEASONAL */
.dnevna-karta-item {
    margin-bottom: 20px;
    padding: 32px;
    background: white;
    border-left: 12px solid #2196F3;
}

.dnevna-karta-item h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #4D4D4D;
    font-weight: 800;
    text-transform: uppercase;
    display: flex;
    text-align: left;
}

.dnevna-karta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.dnevna-karta-header h4 {
    margin: 0;
    width: fit-content;
}

.modra-karta-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.modra-karta-section h4 {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

.modra-karta-options {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-weight: 400;
}

.modra-karta-options strong,
.modra-karta-options strong span.amount {
    font-weight: 600;
    color: #2196F3;
}

.modra-karta-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 400;
}

.modra-karta-option input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 19px;
    height: 19px;
    border: 1px solid #AEAEAE;
    border-radius: 4px;
    background-color: #00000000;
    cursor: pointer;
    margin: 0;
    margin-right: 8px;
    flex-shrink: 0;
    position: relative;
}

.modra-karta-option input[type="checkbox"]:checked {
    background-color: #2196F3;
    border-color: #2196F3;
}

.modra-karta-option input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.modra-karta-option span {
    font-size: 14px;
}

/* Seasonal card styling */
.karta-item {
    margin-bottom: 20px;
    padding: 32px;
    background: white;
    border-left: 12px solid #83AA34;
}

.karta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.karta-header h4 {
    margin: 0;
    color: #666;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

.remove-karta-btn, .remove-dnevna-karta-btn{
    font-weight: 600;
    font-size: 15px;
    line-height: 22px;
    text-transform: uppercase;
    color: #B44A4A;
	display:flex;
    gap: 10px;
	justify-content: center;
	align-items: center;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
}

.karta-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.karta-field-half {
    flex: 1;
}

.karta-field-full {
    width: 100%;
    margin-bottom: 15px;
}

.karta-field-half label,
.karta-field-full label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.karta-input, .trak-select, #trak_id_1 {
    width: 100%;
	border: 0;
    border-bottom: 1px solid #AEAEAE;
    font-size: 14px;
    box-sizing: border-box;
    padding: 0 .75em;
}

.karta-input:focus, .trak-select:focus {
    border-color: #8bc34a;
    outline: none;
    box-shadow: 0 0 5px rgba(139, 195, 74, 0.3);
}

.karta-field-half small {
    color: #666;
    font-size: 11px;
    display: block;
    margin-top: 0px;
	font-weight: 600;
}

.karta-item h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
	color: #4D4D4D;
    font-weight: 800;
    text-transform: uppercase;
    display: flex;
	text-align: left;
}

.help-icon {
    margin-left: 5px;
    color: #999;
    cursor: help;
}

.trak-options {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
	font-weight: 400;
}

.trak-options strong,
.trak-options strong span.amount {
	font-weight: 600;
	color: #83AA34;
}



.trak-option {
    display: flex;
    align-items: center;
    cursor: pointer;
	font-weight: 400;
}

.trak-option input[type="radio"] {
	margin: 0;
    margin-right: 8px;
}

.trak-option span {
    font-size: 14px;
}

.trak-size-section,
.trak-id-section {
    margin-top: 15px;
	text-align: left;
}

.trak-size-section label,
.trak-id-section label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.add-karta-price__wrapper {
	display: flex;
	justify-content: space-between;
}


.add-karta-btn, .add-dnevna-karta-btn {
    background: transparent;
    color: #83AA34;
	border: solid 1px #AEAEAE;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
	display: flex;
	gap: 7px;
	align-items: center;
	justify-content: center;
	padding: 16px 30px;
	line-height: 22px;
}

.add-karta-btn:after, .add-dnevna-karta-btn:after{
	content: '';
	background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M4.70625%207.06875H0V4.70625H4.70625V0H7.06875V4.70625H11.775V7.06875H7.06875V11.775H4.70625V7.06875Z%22%20fill%3D%22%2383AA34%22/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	width: 12px;
	height: 12px;
	margin-top: -2px;
	transition: background .3s;
}

.add-karta-btn:hover, .add-dnevna-karta-btn:hover {
    background: #83AA34;
	color: #FFF;
	border: solid 1px #83AA34;
}

.add-karta-btn:hover:after, .add-dnevna-karta-btn:hover:after{
	background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M4.70625%207.06875H0V4.70625H4.70625V0H7.06875V4.70625H11.775V7.06875H7.06875V11.775H4.70625V7.06875Z%22%20fill%3D%22%23FFFFFF%22/%3E%3C/svg%3E");
}

/* Daily card button with blue styling */
.add-dnevna-karta-btn {
    color: #2196F3;
}

.add-dnevna-karta-btn:after {
    background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M4.70625%207.06875H0V4.70625H4.70625V0H7.06875V4.70625H11.775V7.06875H7.06875V11.775H4.70625V7.06875Z%22%20fill%3D%22%232196F3%22/%3E%3C/svg%3E");
}

.add-dnevna-karta-btn:hover {
    background: #2196F3;
    border-color: #2196F3;
}

.add-dnevna-karta-btn:hover:after {
    background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M4.70625%207.06875H0V4.70625H4.70625V0H7.06875V4.70625H11.775V7.06875H7.06875V11.775H4.70625V7.06875Z%22%20fill%3D%22%23FFFFFF%22/%3E%3C/svg%3E");
}


.price-lines {
	text-align: right;
	margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.price-line .price-value {
	font-weight: 600;
	margin-left: 8px;
}

.trak-za-roko-wrapper{
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #DEDEDE;
    text-align: left;
}

.total-price {
	line-height: normal;
}

.total-price span.amount {
    font-size: 24px;
    font-weight: bold;
    color: #83AA34;
}

.total-quantity {
    font-size: 14px;
    color: #666;
}


.total-summary {
	flex: 0 0 auto!important;
	margin-right: auto!important;
}

.karte-container input[type=text],
.karte-container input[type=date],
.karte-container input[type=email],
.dnevna-karte-container input[type=text],
.dnevna-karte-container input[type=date],
.dnevna-karte-container input[type=email] {
	border: none!important;
	border-bottom: 1px solid #AEAEAE!important;
}

.karte-container input[type=file],
.dnevna-karte-container input[type=file] {
	margin-bottom: 0;
}


.karta-warning {
    display: block;
    margin-top: 15px;
    padding: 10px;
    background: #ffebee;
    border: 1px solid #e57373;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
}

/* Photo upload styling */

.karta-photo-input__wrapper {
	display: flex;
	gap: 12px;
	cursor: pointer;
	text-align: left;
}

.karta-photo-input__wrapper > img{
	width: 46px;
	height: 46px;
	object-fit: cover;
	border-radius: 100px;
}

.karta-photo-input__wrapper .karta-photo-label {
	font-size: 16px;
	text-decoration: underline;
	font-weight: 500;
	color: #4D4D4D;
}

.karta-photo-input {
	display: none;
}

.photo-preview {
    margin-top: 10px;
}

.preview-img {
    max-width: 100px;
    height: auto;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.upload-progress {
    margin-top: 5px;
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #8bc34a;
    transition: width 0.3s ease;
}

@media (max-width: 849px) {
    .karta-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .trak-options, .modra-karta-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .trak-za-roko-wrapper {
        margin: 15px 0;
    }
    
    .add-karta-btn, .add-dnevna-karta-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .price-summary {
        padding: 12px;
    }
    
    .price-line {
        font-size: 13px;
    }
	
	.karta-item, .dnevna-karta-item{
		padding: 20px;
	}
}

/* Loading states */
.karta-input:disabled,
.trak-select:disabled,
.add-karta-btn:disabled,
.add-dnevna-karta-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.karta-input.loading {
    background-image: url('data:image/svg+xml;charset=utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="8" fill="none" stroke="%23ccc" stroke-width="2"/><path d="M10,2 A8,8 0 0,1 18,10" fill="none" stroke="%238bc34a" stroke-width="2"/><animateTransform attributeName="transform" type="rotate" values="0 10 10;360 10 10" dur="1s" repeatCount="indefinite"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px 16px;
}

/* Success/Error states */
.karta-input.success {
    border-color: #4caf50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

.karta-input.error {
    border-color: #f44336;
    box-shadow: 0 0 5px rgba(244, 67, 54, 0.3);
}

.trak-options input[type="radio"]{
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	width: 19px;
	height: 19px;
	border: 1px solid #AEAEAE;
	border-radius: 50%;
	background-color: #00000000;
	cursor: pointer;
	margin: 0;
	margin-right: 5px;
	flex-shrink: 0;
}

.karta-item .karta-header h4{
    margin: 0;
    width: fit-content;
}

.trak-options input[type="radio"]:checked {
	border: 4px solid var(--fs-color-primary);
}

.remove-karta-btn:before, .remove-dnevna-karta-btn:before{
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2217%22%20height%3D%2217%22%20viewBox%3D%220%200%2017%2017%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M6.14466%2012.0415L8.49987%209.68633L10.8551%2012.0415L12.0415%2010.8551L9.68633%208.49987L12.0415%206.14466L10.8551%204.9582L8.49987%207.31341L6.14466%204.9582L4.9582%206.14466L7.31341%208.49987L4.9582%2010.8551L6.14466%2012.0415ZM8.49987%2016.1853C7.42556%2016.1853%206.42215%2015.9841%205.48963%2015.5818C4.55723%2015.1793%203.74613%2014.6332%203.05633%2013.9434C2.36653%2013.2536%201.8204%2012.4425%201.41795%2011.5101C1.01562%2010.5776%200.814453%209.57417%200.814453%208.49987C0.814453%207.42556%201.01562%206.42215%201.41795%205.48963C1.8204%204.55723%202.36653%203.74613%203.05633%203.05633C3.74613%202.36653%204.55723%201.8204%205.48963%201.41795C6.42215%201.01562%207.42556%200.814453%208.49987%200.814453C9.57417%200.814453%2010.5776%201.01562%2011.5101%201.41795C12.4425%201.8204%2013.2536%202.36653%2013.9434%203.05633C14.6332%203.74613%2015.1793%204.55723%2015.5818%205.48963C15.9841%206.42215%2016.1853%207.42556%2016.1853%208.49987C16.1853%209.57417%2015.9841%2010.5776%2015.5818%2011.5101C15.1793%2012.4425%2014.6332%2013.2536%2013.9434%2013.9434C13.2536%2014.6332%2012.4425%2015.1793%2011.5101%2015.5818C10.5776%2015.9841%209.57417%2016.1853%208.49987%2016.1853ZM8.49987%2013.954C10.0346%2013.954%2011.3273%2013.4287%2012.378%2012.378C13.4287%2011.3273%2013.954%2010.0346%2013.954%208.49987C13.954%206.96515%2013.4287%205.67244%2012.378%204.62174C11.3273%203.57105%2010.0346%203.0457%208.49987%203.0457C6.96515%203.0457%205.67244%203.57105%204.62174%204.62174C3.57105%205.67244%203.0457%206.96515%203.0457%208.49987C3.0457%2010.0346%203.57105%2011.3273%204.62174%2012.378C5.67244%2013.4287%206.96515%2013.954%208.49987%2013.954Z%22%20fill%3D%22%23B44A4A%22/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 17px;
    height: 17px;
    margin-top: -2px;
    flex-shrink: 0;
}