/**
 * This injects Tailwind's base styles, which is a combination of
 * Normalize.css and some additional base styles.
 *
 * You can see the styles here:
 * https://unpkg.com/tailwindcss/dist/base.css
 */
@tailwind base;

/**
 * Remove the default box-shadow for invalid elements to prevent
 * inputs in Livewire components showing with a
 * red border by default in Firefox.
 *
 * See: https://github.com/laravel-frontend-presets/tall/issues/7
 */
 input:invalid, textarea:invalid, select:invalid {
    box-shadow: none;
}

/**
 * This injects any component classes registered by plugins.
 */
@tailwind components;

/**
 * Here you would add any of your custom component classes; stuff that you'd
 * want loaded *before* the utilities so that the utilities could still
 * override them.
 *
 * Example:
 *
 * .btn { ... }
 * .form-input { ... }
 */

/**
 * This injects all of Tailwind's utility classes, generated based on your
 * config file.
 */
 .btn { @apply rounded-lg shadow-lg py-2 px-4 };
 .tr-100 { @apply transition duration-100 ease-in-out  };
 .tr-300 { @apply transition duration-300 ease-in-out  };
 .tr-700 { @apply transition duration-700 ease-in-out  };
 .btn-blue { @apply btn hover:opacity-80 tr-300 bg-gradient-to-r from-blue-300 to-indigo-500 text-center text-white my-1 font-medium };
 .btn-yellow { @apply btn hover:opacity-80 tr-300 bg-gradient-to-r from-yellow-300 to-yellow-500 text-center text-white my-1 font-medium };
 .btn-red { @apply btn hover:opacity-80 tr-300 bg-gradient-to-r from-red-300 to-red-500 text-center text-white my-1 font-medium };
 .btn-green { @apply btn hover:opacity-80 tr-300 bg-gradient-to-r from-green-300 to-green-500 text-center text-white my-1 font-medium };

@tailwind utilities;

/**
 * Here you would add any custom utilities you need that don't come out of the
 * box with Tailwind.
 *
 * Example :
 *
 * .bg-pattern-graph-paper { ... }
 * .skew-45 { ... }
 */

[x-cloak] {
    display: none;
}
