/**
 * Course Request Form Styles - RTL Arabic
 */
/* Warning label — single style (RTL/LTR friendly) */
.notice-muz{
  --accent: #f59e0b;   /* Amber */
  --bg: #fff7e6;       /* Soft amber background */
  --border: #f5d08a;   /* Subtle border */
  --text: #6b3e00;     /* Readable dark-amber text */

  position: relative;
  display: block;
  margin: 14px 0;
  padding: clamp(12px, 2.2vw, 16px) clamp(14px, 2.6vw, 20px);
  padding-inline-start: clamp(52px, 5vw, 64px); /* space for icon (RTL/LTR) */

  background-color: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 14px;
  border-inline-start: 6px solid var(--accent); /* auto flips in RTL */
  box-shadow: 0 8px 20px rgba(245, 158, 11, .08);
}

.notice-muz-p{
  margin: 0;
}

/* Icon (inline SVG, fixed color for this single style) */
.notice-muz::before{
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-start: clamp(14px, 2vw, 18px);
  transform: translateY(-50%);
  width: 24px; height: 24px;
  background: url('data:image/svg+xml;utf8,\
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">\
<g fill="%23f59e0b">\
<path d="M12 3c.35 0 .68.18.86.49l9.35 16.2c.35.61-.09 1.36-.86 1.36H2.65c-.77 0-1.22-.75-.86-1.36L11.14 3.49c.18-.31.51-.49.86-.49z"/>\
<rect x="11" y="10" width="2" height="6" rx="1"/>\
<rect x="11" y="17.5" width="2" height="2" rx="1"/>\
</g></svg>') no-repeat center/contain;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.05));
}

/* Focus state (accessibility) */
.notice-muz:focus-within{
  outline: 2px solid color-mix(in srgb, var(--accent) 55%, white);
  outline-offset: 2px;
  box-shadow: 0 8px 24px rgba(245, 158, 11, .12);
}


.muz-cr-form-wrapper {
    max-width: 720px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    direction: rtl;
    text-align: right;
    box-sizing: border-box;
    overflow: hidden;
}

.muz-cr-form-wrapper * {
    box-sizing: inherit;
}

/* Messages */
.muz-cr-message {
	padding: 1rem 1.5rem;
	margin-bottom: 1.5rem;
	border-radius: 4px;
	font-size: 1rem;
	line-height: 1.6;
}

.muz-cr-success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.muz-cr-error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

.muz-cr-warning {
	background-color: #fff3cd;
	color: #856404;
	border: 1px solid #ffeaa7;
	padding: 0.75rem;
	margin-top: 1rem;
	border-radius: 4px;
	font-size: 0.9rem;
}

/* Form */
.muz-cr-form {
    font-family: inherit;
    font-size: 100%;
    color: inherit;
}

/* Sections */
.muz-cr-section {
    margin-bottom: 1.75rem;
    padding: 1.25rem 1rem;
    background: #fafafa;
    border-radius: 10px;
    border: 1px solid #eeeeee;
}

.muz-cr-section h3 {
    margin: 0 0 1.25rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e6e6e6;
    color: #111827;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Fields */
.muz-cr-field {
	margin-bottom: 1.25rem;
}

.muz-cr-field:last-child {
	margin-bottom: 0;
}

.muz-cr-field label {
    display: block;
    margin-bottom: 0.375rem;
    font-weight: 600;
    color: #111827;
    font-size: 0.95rem;
}

.muz-cr-field .required {
	color: #d63638;
	margin-right: 0.25rem;
}

.muz-cr-field .optional {
	color: #757575;
	font-weight: 400;
	font-size: 0.85rem;
}

.muz-cr-field input[type="text"],
.muz-cr-field input[type="email"],
.muz-cr-field input[type="number"],
.muz-cr-field select {
    width: 100%;
    padding: 0.75rem 0.875rem;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    font-size: 0.975rem;
    line-height: 1.5;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    background: #ffffff;
    max-width: 100%;
    display: block;
}

.muz-cr-field input[type="text"]:focus,
.muz-cr-field input[type="email"]:focus,
.muz-cr-field input[type="number"]:focus,
.muz-cr-field select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.muz-cr-field input[type="number"] {
	max-width: 200px;
}

.muz-cr-field small {
	display: block;
	margin-top: 0.5rem;
	color: #757575;
	font-size: 0.85rem;
}

/* Submit */
.muz-cr-submit {
	margin-top: 2rem;
	text-align: center;
}

.muz-cr-button {
    background: #2563eb;
    color: #ffffff;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.muz-cr-button:hover {
    background: #1d4ed8;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.muz-cr-button:active {
	transform: translateY(1px);
}

.muz-cr-button:disabled {
	background: #cccccc;
	cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
	.muz-cr-form-wrapper {
		padding: 1.5rem;
		margin: 1rem;
	}

	.muz-cr-section {
		padding: 1rem;
	}

	.muz-cr-button {
		width: 100%;
		padding: 0.875rem 2rem;
	}

	.muz-cr-field input[type="number"] {
		max-width: 100%;
	}
}

/* RTL specific adjustments */
[dir="rtl"] .muz-cr-field input,
[dir="rtl"] .muz-cr-field select,
[dir="rtl"] .muz-cr-field textarea {
	text-align: right;
}


