/**
 * All of the CSS for plugin public functionality should be included in this file.
 */

 .sameday-radio-buttons {
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 2.5rem;
}

.radio-wrap {
    cursor: pointer;
}

.radio-wrap.sameday {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border: 2px solid #dddddd;
    padding: 40px 50px;
    margin-top: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: border-color 0.3s;
    height: 50px;
}

.radio-wrap.sameday img {
    margin-right: 10px;
}

.radio-wrap.sameday.selected,
.radio-wrap.sameday:hover {
    border-color: green;
}

.input-radio {
    display: none;
}

.radio-wrap.sameday label {
    display: flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
}

/*
.radio-wrap.sameday label img {
    margin-right: 10px;
}
*/

@media screen and (max-width: 767px) {
    .sameday-radio-buttons {
        flex-direction: column;
    }

    .radio-wrap.sameday {
        width: 100%;
    }
}

.select2-container {
	min-width: 100%!important;
}

select.error-field {
    border: 2px solid #CA1919;
}

.error-message {
    color: #CA1919;
    margin-top: 5px;
    font-size: 0.9em;
}

.carrier-label {
	display: flex;
	align-items: center;
	gap: 8px;
	text-align: left;
	flex-direction: row; /* Mobile layout */
}

.carrier-label img {
	height: auto;
}

.carrier-label-text {
	display: inline-block;
	font-size: 14px;
}

/* Desktop layout: stack image + text */
@media (min-width: 768px) {
	.carrier-label {
		flex-direction: column;
		text-align: center;
	}
}
