/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

@keyframes modal-backdrop-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes modal-panel-in {
	from {
		transform: translateY(30px); /* scale(0.9); */
	}

	to {
		transform: translateY(0) scale(1);
	}
}

[data-form-modal-target="modal"]:not(.hidden) {
	animation: modal-backdrop-in 400ms ease-out;
}

[data-form-modal-target="modal"]:not(.hidden) [data-form-modal-target="panel"] {
	animation: modal-panel-in 400ms ease-out;
}
