:root {
--silver-gradient-1: #e8e9eb;
--silver-gradient-2: #d4d5d7;
--silver-gradient-3: #c0c2c4;
--silver-metallic: linear-gradient(135deg, #f2f3f4, #e2e3e4, #d1d2d4, #e2e3e4);
--silver-shine: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.3));
--silver-border: #b8b9bb;
--text-dark: #2f353b;
--text-medium: #505559;
--shadow-metallic: 0 8px 20px rgba(0,0,0,0.1), 
inset 0 1px 0 rgba(255,255,255,0.5),
inset 0 -1px 0 rgba(0,0,0,0.1);
--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
--metallic-gradient: linear-gradient(145deg, #f8f9fa, #e9ecef, #dee2e6, #e9ecef);
--metallic-shine: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
--metallic-border: rgba(255,255,255,0.3);
--metallic-shadow: 
0 10px 30px rgba(0,0,0,0.1),
inset 0 1px 0 var(--metallic-border),
inset 0 -1px 0 rgba(0,0,0,0.05);
--text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
} .dubai-waehrungsrechner {
max-width: 500px;
margin: 20px auto;
padding: 30px;
background: linear-gradient(145deg, #ffffff, #f0f0f0);
border-radius: 20px;
box-shadow: 
20px 20px 60px #d1d1d1,
-20px -20px 60px #ffffff,
inset 0 1px 0 rgba(255,255,255,0.8);
position: relative;
overflow: hidden;
border: 1px solid var(--metallic-border);
touch-action: manipulation;
-webkit-tap-highlight-color: transparent;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
} .dubai-waehrungsrechner::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: var(--metallic-shine);
transform: rotate(30deg);
pointer-events: none;
transition: transform 0.6s ease-in-out;
}
.dubai-waehrungsrechner:hover::before {
transform: rotate(30deg) translate(50%, 50%);
} .dubai-waehrungsrechner h3 {
text-align: center;
color: #333;
font-size: 24px;
margin-bottom: 30px;
font-weight: 500;
} .calculator-inputs {
display: flex;
flex-direction: column;
gap: 20px;
margin: 0 auto;
width: 100%;
} .input-wrapper {
display: flex;
align-items: center;
gap: 15px;
width: 100%;
} .flag-container {
flex-shrink: 0;
width: 24px;
height: 16px;
position: relative;
}
.currency-flag {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 2px;
box-shadow: 
0 1px 3px rgba(0,0,0,0.1),
0 1px 2px rgba(0,0,0,0.06);
border: 1px solid rgba(255,255,255,0.1);
} .input-group {
flex: 1;
display: flex;
align-items: center;
background: linear-gradient(145deg, #ffffff, #f8f9fa);
border: 1px solid rgba(0,0,0,0.1);
box-shadow: 
inset 0 2px 4px rgba(0,0,0,0.05),
0 1px 0 rgba(255,255,255,0.95);
padding: 10px 15px;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.input-group:hover {
transform: translateY(-1px);
box-shadow: 
0 4px 8px rgba(0,0,0,0.08),
inset 0 1px 3px rgba(0,0,0,0.05);
}
.input-group:focus-within {
outline: none;
border-color: #4a90e2;
box-shadow: 
0 0 0 3px rgba(74, 144, 226, 0.2),
inset 0 1px 3px rgba(0,0,0,0.05);
} .input-group input {
flex: 1;
border: none;
padding: 8px;
font-size: 16px;
color: #333;
background: transparent;
min-width: 0; font-size: 16px !important;
touch-action: manipulation;
font-weight: 500;
letter-spacing: 0.3px;
}
.input-group input:focus {
outline: none;
background: rgba(255,255,255,0.9);
}
.input-group input::placeholder {
color: #999;
} .currency-label {
flex-shrink: 0;
padding: 4px 8px;
background: linear-gradient(145deg, #f0f2f5, #e5e7ea);
border: 1px solid rgba(0,0,0,0.05);
box-shadow: 
inset 0 1px 0 rgba(255,255,255,0.5),
0 1px 2px rgba(0,0,0,0.05);
color: #666;
font-size: 14px;
font-weight: 500;
margin-left: 8px;
font-weight: 600;
letter-spacing: 0.5px;
} .exchange-info {
text-align: center;
margin-top: 25px;
color: #666;
background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(248,249,250,0.9));
padding: 15px;
border-radius: 10px;
box-shadow: 
inset 0 1px 0 rgba(255,255,255,0.5),
0 1px 3px rgba(0,0,0,0.05);
border: 1px solid rgba(0,0,0,0.05);
}
.exchange-info p {
margin: 0 0 5px 0;
font-size: 15px;
}
#current-rate {
color: #4a90e2;
font-weight: 500;
}
.exchange-info small {
color: #999;
font-size: 13px;
} @media (max-width: 768px) {
.dubai-waehrungsrechner {
margin: 10px;
padding: 20px;
border-radius: 15px;
}
.calculator-inputs {
gap: 15px;
}
.input-wrapper {
gap: 10px;
}
.input-group {
padding: 6px 10px;
}
.input-group input {
font-size: 15px;
}
.currency-label {
padding: 3px 6px;
font-size: 13px;
}
h3 {
font-size: 20px;
margin-bottom: 20px;
}
h2.dubai-title {
font-size: 24px;
margin-bottom: 25px;
}
} @media (max-width: 380px) {
.dubai-waehrungsrechner {
padding: 15px;
margin: 5px;
}
.flag-container {
width: 20px;
height: 14px;
}
.input-group input {
font-size: 14px;
}
.currency-label {
padding: 2px 4px;
font-size: 12px;
}
h2.dubai-title {
font-size: 22px;
margin-bottom: 20px;
}
} html, body {
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
} h2.dubai-title {
text-align: center;
width: 100%;
color: #2c3e50;
font-size: 28px;
font-weight: 600;
margin: 0 0 30px 0;
padding: 0;
text-shadow: var(--text-shadow);
letter-spacing: 0.5px;
position: relative;
left: 50%;
transform: translateX(-50%);
white-space: nowrap;
background: linear-gradient(135deg, #2c3e50, #3498db);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-weight: 700;
} @media (max-width: 768px) {
h2.dubai-title {
font-size: 24px;
margin-bottom: 25px;
white-space: normal; }
}
@media (max-width: 380px) {
h2.dubai-title {
font-size: 22px;
margin-bottom: 20px;
}
} @keyframes valueChange {
0% { transform: scale(1); background: rgba(74, 144, 226, 0.1); }
50% { transform: scale(1.02); background: rgba(74, 144, 226, 0.05); }
100% { transform: scale(1); background: transparent; }
}
.input-group.value-changed {
animation: valueChange 0.4s ease-out;
} .dubai-waehrungsrechner.loading::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(255,255,255,0.8);
display: flex;
align-items: center;
justify-content: center;
z-index: 10;
}
.dubai-waehrungsrechner.loading::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 30px;
height: 30px;
border: 3px solid #f3f3f3;
border-top: 3px solid #3498db;
border-radius: 50%;
animation: spin 1s linear infinite;
z-index: 11;
}
@keyframes spin {
0% { transform: translate(-50%, -50%) rotate(0deg); }
100% { transform: translate(-50%, -50%) rotate(360deg); }
}