/* ---- Takvim simgesini tamamen kaldır + taşmayı engelle ---- */
input[type="date"],
input[type="datetime-local"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: textfield;
  background: none;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 1rem;
  color: #333;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* WebKit tabanlı tarayıcılarda (Chrome, Edge, Safari) kalan alanı da kaldır */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  display: none;
  -webkit-appearance: none;
  appearance: none;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
}
@supports (-webkit-touch-callout: none) {
  input[type="date"],
  input[type="datetime-local"] {
    transform: scale(0.95);
    transform-origin: left center;
  }
}




        

        .calculator-card {
            background: var(--bg-color);
            border: 1px solid var(--border-color);
            border-radius: 1rem;
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }



        .calculator-header {
            text-align: center;
            margin-bottom: 1.5rem;
        }

        .calculator-header h1 {
            color: var(--primary-color);
            font-size: 1.8rem;
            margin-bottom: 0.5rem;
        }

        .calculator-header p {
            color: var(--text-color);
            opacity: 0.8;
            font-size: 1rem;
        }

        .input-group {
            margin-bottom: 1.5rem;
        }

        .input-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--text-color);
            font-weight: 600;
            font-size: 1rem;
        }

        .input-group input {
            width: 50%;
            padding: 12px 15px;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            background-color: var(--bg-color);
            color: var(--text-color);
            font-size: 1rem;
            transition: var(--transition);
            


        }

        .input-group input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(74, 108, 247, 0.2);
        }



        .calculate-btn:active {
            transform: translateY(0);
        }

        .result {
            margin-top: 1.5rem;
            padding: 1.5rem;
            background: var(--bg-color);
            border: 1px solid var(--border-color);
            border-radius: 0.8rem;
            text-align: center;
            display: none;
            transition: var(--transition);
        }

        .result.show {
            display: block;
            animation: fadeInUp 0.5s ease;
        }

        .result h3 {
            color: var(--text-color);
            margin-bottom: 1rem;
            font-size: 1.2rem;
        }

        .result-value {
            font-size: 1.5rem;
            font-weight: bold;
            margin: 0.5rem 0;
            padding: 0.5rem;
            border-radius: 6px;
            transition: var(--transition);
        }

        .result.prime .result-value {
            color: #27ae60;
            background-color: rgba(39, 174, 96, 0.1);
            border: 1px solid rgba(39, 174, 96, 0.3);
        }

        .result.not-prime .result-value {
            color: #e74c3c;
            background-color: rgba(231, 76, 60, 0.1);
            border: 1px solid rgba(231, 76, 60, 0.3);
        }

        #primeCalculationDetail {
            color: var(--text-color);
            opacity: 0.8;
            font-size: 0.9rem;
            margin-top: 0.8rem;
            line-height: 1.4;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(15px);
            }

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

        /* Dark mode optimizasyonları */
        .dark-mode .input-group input {
            background-color: #2d2d2d;
        }

        .dark-mode .result.prime .result-value {
            background-color: rgba(39, 174, 96, 0.15);
        }

        .dark-mode .result.not-prime .result-value {
            background-color: rgba(231, 76, 60, 0.15);
        }


        .operation-btn {
            padding: 12px;
            border: 1px solid var(--border-color);
            background-color: var(--bg-color);
            color: var(--text-color);
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
        }

        .operation-btn:hover {
            background-color: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
            transform: translateY(-2px);
        }

        /* ortalamanın cssi*/
        .result-details {
            margin-top: 15px;
            padding: 15px;
            background: rgba(74, 108, 247, 0.1);
            border-radius: 8px;
            text-align: left;
        }

        .result-details p {
            margin: 8px 0;
            color: var(--text-color);
        }

        .result-details strong {
            color: var(--primary-color);
        }

        .numbers-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
            gap: 8px;
            margin-top: 10px;
            padding: 10px;
            background: rgba(39, 174, 96, 0.1);
            border-radius: 6px;
        }

        .number-item {
            padding: 6px;
            text-align: center;
            background: white;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            font-weight: 500;
        }

        /* Yüzde hesaplama bölümü */
        .operation-buttons {
            display: grid;
            grid-template-columns: 50%;
            gap: 10px;
            margin-bottom: 1.5rem;
            justify-content: center;

        }

        /*.operation-buttons {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-bottom: 1.5rem;
        }*/

        .operation-btn {
            padding: 12px;
            border: 1px solid var(--border-color);
            background-color: var(--bg-color);
            color: var(--text-color);
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
        }

        .operation-btn:hover {
            transform: translateY(-2px);
        }

        .operation-btn:nth-child(1):hover {
            background-color: rgba(74, 108, 247, 0.1);
            border-color: var(--primary-color);
            color: var(--primary-color);
        }

        .operation-btn:nth-child(2):hover {
            background-color: rgba(39, 174, 96, 0.1);
            border-color: #27ae60;
            color: #27ae60;
        }

        .operation-btn:nth-child(3):hover {
            background-color: rgba(231, 76, 60, 0.1);
            border-color: #e74c3c;
            color: #e74c3c;
        }

        .percentage-bar {
            margin-top: 15px;
            height: 20px;
            background: #f0f0f0;
            border-radius: 10px;
            overflow: hidden;
            position: relative;
        }

        .percentage-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--primary-color), #6b8aff);
            border-radius: 10px;
            transition: width 0.5s ease;
        }

        .percentage-text {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-weight: bold;
            color: var(--text-color);
            font-size: 0.8rem;
        }

        .comparison-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 15px;
        }

        .comparison-item {
            padding: 10px;
            border-radius: 6px;
            text-align: center;
            font-weight: 500;
        }

        .original {
            background: rgba(74, 108, 247, 0.1);
            border: 1px solid var(--primary-color);
        }

        .result-value-display {
            background: rgba(39, 174, 96, 0.1);
            border: 1px solid #27ae60;
        }

        .show {
            overflow-wrap: break-word;
            word-wrap: break-word;
            /* eski tarayıcılar için */
            word-break: break-all;
        }

        /* Dönüşüm bölümü burda başlıyor*/
        .conversion-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 15px;
            margin-bottom: 1.5rem;
        }

        .unit-select {
            width: 50%;
            padding: 12px 15px;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            background-color: var(--bg-color);
            color: var(--text-color);
            font-size: 1rem;
            transition: var(--transition);
        }

        .unit-select:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(74, 108, 247, 0.2);
        }

        .conversions-table {
            width: 100%;
            margin-top: 15px;
            border-collapse: collapse;
        }

        .conversions-table th,
        .conversions-table td {
            padding: 8px 12px;
            text-align: left;
            border-bottom: 1px solid var(--border-color);
        }

        .conversions-table th {
            background-color: rgba(74, 108, 247, 0.1);
            font-weight: 600;
            color: var(--primary-color);
        }

        .conversions-table tr:hover {
            background-color: rgba(74, 108, 247, 0.05);
        }

        /* burası geometri bölümü*/
        .triangle-visual {
            text-align: center;
            margin: 20px 0;
            padding: 15px;
            background: rgba(74, 108, 247, 0.05);
            border-radius: 10px;
            border: 1px solid rgba(74, 108, 247, 0.2);
        }

        .triangle-svg {
            max-width: 200px;
            height: auto;
        }

        .formula-box {
            margin-top: 15px;
            padding: 12px;
            background: rgba(39, 174, 96, 0.1);
            border-radius: 6px;
            border: 1px solid rgba(39, 174, 96, 0.3);
        }

        .circle-visual {
            text-align: center;
            margin: 20px 0;
            padding: 15px;
            background: rgba(74, 108, 247, 0.05);
            border-radius: 50%;
            border: 2px solid rgba(74, 108, 247, 0.3);
            width: 150px;
            height: 150px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-left: auto;
            margin-right: auto;
        }

        .circle-info {
            text-align: center;
            font-size: 0.9rem;
            color: var(--text-color);
            opacity: 0.8;
        }

        .formula-box {
            margin-top: 15px;
            padding: 12px;
            background: rgba(39, 174, 96, 0.1);
            border-radius: 6px;
            border: 1px solid rgba(39, 174, 96, 0.3);
        }


        .circle-properties {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 15px;
        }

        .property-item {
            padding: 10px;
            background: rgba(74, 108, 247, 0.1);
            border-radius: 6px;
            text-align: center;
        }

        .rectangle-visual {
            text-align: center;
            margin: 20px 0;
            padding: 15px;
            background: rgba(74, 108, 247, 0.05);
            border-radius: 8px;
            border: 2px solid rgba(74, 108, 247, 0.3);
        }

        .rectangle-svg {
            max-width: 200px;
            height: auto;
        }

        .formula-box {
            margin-top: 15px;
            padding: 12px;
            background: rgba(39, 174, 96, 0.1);
            border-radius: 6px;
            border: 1px solid rgba(39, 174, 96, 0.3);
        }

        .rectangle-properties {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 15px;
        }

        .property-item {
            padding: 10px;
            background: rgba(74, 108, 247, 0.1);
            border-radius: 6px;
            text-align: center;
        }

        .shape-type {
            padding: 8px 12px;
            border-radius: 20px;
            font-weight: bold;
            margin: 10px 0;
            display: inline-block;
        }

        .square {
            background: rgba(255, 193, 7, 0.2);
            color: #ffc107;
            border: 1px solid #ffc107;
        }

        .rectangle {
            background: rgba(74, 108, 247, 0.2);
            color: var(--primary-color);
            border: 1px solid var(--primary-color);
        }

        .golden-ratio {
            background: rgba(156, 39, 176, 0.2);
            color: #9c27b0;
            border: 1px solid #9c27b0;
        }

        .cylinder-visual {
            text-align: center;
            margin: 20px 0;
            padding: 15px;
            background: rgba(74, 108, 247, 0.05);
            border-radius: 8px;
            border: 2px solid rgba(74, 108, 247, 0.3);
        }

        .cylinder-svg {
            max-width: 150px;
            height: auto;
        }

        .formula-box {
            margin-top: 15px;
            padding: 12px;
            background: rgba(39, 174, 96, 0.1);
            border-radius: 6px;
            border: 1px solid rgba(39, 174, 96, 0.3);
        }

        .cylinder-properties {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 15px;
        }

        .property-item {
            padding: 10px;
            background: rgba(74, 108, 247, 0.1);
            border-radius: 6px;
            text-align: center;
        }

        .cylinder-type {
            padding: 8px 12px;
            border-radius: 20px;
            font-weight: bold;
            margin: 10px 0;
            display: inline-block;
        }

        .regular-cylinder {
            background: rgba(74, 108, 247, 0.2);
            color: var(--primary-color);
            border: 1px solid var(--primary-color);
        }

        .cube-like {
            background: rgba(255, 193, 7, 0.2);
            color: #ffc107;
            border: 1px solid #ffc107;
        }

        .tall-cylinder {
            background: rgba(156, 39, 176, 0.2);
            color: #9c27b0;
            border: 1px solid #9c27b0;
        }

        .flat-cylinder {
            background: rgba(33, 150, 243, 0.2);
            color: #2196f3;
            border: 1px solid #2196f3;
        }

        .comparison-item {
            padding: 8px;
            margin: 5px 0;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
            border-left: 3px solid var(--primary-color);
        }

        .sphere-visual {
            text-align: center;
            margin: 20px 0;
            padding: 15px;
            background: rgba(74, 108, 247, 0.05);
            border-radius: 50%;
            border: 2px solid rgba(74, 108, 247, 0.3);
            width: 120px;
            height: 120px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-left: auto;
            margin-right: auto;
            position: relative;
        }

        .sphere-visual::before {
            content: '';
            position: absolute;
            width: 80%;
            height: 80%;
            border-radius: 50%;
            background: radial-gradient(circle at 30% 30%, rgba(74, 108, 247, 0.3), transparent);
        }

        .sphere-info {
            text-align: center;
            font-size: 0.9rem;
            color: var(--text-color);
            opacity: 0.8;
            position: relative;
            z-index: 2;
        }

        .formula-box {
            margin-top: 15px;
            padding: 12px;
            background: rgba(39, 174, 96, 0.1);
            border-radius: 6px;
            border: 1px solid rgba(39, 174, 96, 0.3);
        }

        .sphere-properties {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 15px;
        }

        .property-item {
            padding: 10px;
            background: rgba(74, 108, 247, 0.1);
            border-radius: 6px;
            text-align: center;
        }

        .sphere-size {
            padding: 8px 12px;
            border-radius: 20px;
            font-weight: bold;
            margin: 10px 0;
            display: inline-block;
        }

        .small-sphere {
            background: rgba(33, 150, 243, 0.2);
            color: #2196f3;
            border: 1px solid #2196f3;
        }

        .medium-sphere {
            background: rgba(74, 108, 247, 0.2);
            color: var(--primary-color);
            border: 1px solid var(--primary-color);
        }

        .large-sphere {
            background: rgba(255, 193, 7, 0.2);
            color: #ffc107;
            border: 1px solid #ffc107;
        }

        .huge-sphere {
            background: rgba(244, 67, 54, 0.2);
            color: #f44336;
            border: 1px solid #f44336;
        }

        .comparison-item {
            padding: 8px;
            margin: 5px 0;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
            border-left: 3px solid var(--primary-color);
        }

        .interesting-fact {
            padding: 10px;
            margin: 10px 0;
            background: rgba(156, 39, 176, 0.1);
            border-radius: 6px;
            border-left: 4px solid #9c27b0;
        }

        .cone-visual {
            text-align: center;
            margin: 20px 0;
            padding: 15px;
            background: rgba(74, 108, 247, 0.05);
            border-radius: 8px;
            border: 2px solid rgba(74, 108, 247, 0.3);
            position: relative;
        }

        .cone-diagram {
            display: inline-block;
            position: relative;
            width: 120px;
            height: 120px;
        }

        .cone-base {
            position: absolute;
            bottom: 0;
            left: 20px;
            width: 80px;
            height: 20px;
            background: rgba(74, 108, 247, 0.3);
            border-radius: 40px 40px 0 0;
        }

        .cone-body {
            position: absolute;
            bottom: 20px;
            left: 50px;
            width: 0;
            height: 0;
            border-left: 10px solid transparent;
            border-right: 10px solid transparent;
            border-bottom: 100px solid rgba(74, 108, 247, 0.2);
        }

        .formula-box {
            margin-top: 15px;
            padding: 12px;
            background: rgba(39, 174, 96, 0.1);
            border-radius: 6px;
            border: 1px solid rgba(39, 174, 96, 0.3);
        }

        .cone-properties {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 15px;
        }

        .property-item {
            padding: 10px;
            background: rgba(74, 108, 247, 0.1);
            border-radius: 6px;
            text-align: center;
        }

        .cone-type {
            padding: 8px 12px;
            border-radius: 20px;
            font-weight: bold;
            margin: 10px 0;
            display: inline-block;
        }

        .wide-cone {
            background: rgba(33, 150, 243, 0.2);
            color: #2196f3;
            border: 1px solid #2196f3;
        }

        .standard-cone {
            background: rgba(74, 108, 247, 0.2);
            color: var(--primary-color);
            border: 1px solid var(--primary-color);
        }

        .tall-cone {
            background: rgba(156, 39, 176, 0.2);
            color: #9c27b0;
            border: 1px solid #9c27b0;
        }

        .needle-cone {
            background: rgba(244, 67, 54, 0.2);
            color: #f44336;
            border: 1px solid #f44336;
        }

        .comparison-item {
            padding: 8px;
            margin: 5px 0;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
            border-left: 3px solid var(--primary-color);
        }

        .math-fact {
            padding: 10px;
            margin: 10px 0;
            background: rgba(255, 193, 7, 0.1);
            border-radius: 6px;
            border-left: 4px solid #ffc107;
        }

        .square-visual {
            text-align: center;
            margin: 20px 0;
            padding: 15px;
            background: rgba(74, 108, 247, 0.05);
            border-radius: 8px;
            border: 2px solid rgba(74, 108, 247, 0.3);
            position: relative;
        }

        .square-diagram {
            display: inline-block;
            position: relative;
            width: 100px;
            height: 100px;
            background: rgba(74, 108, 247, 0.1);
            border: 2px solid var(--primary-color);
        }

        .square-diagram::before {
            content: 'a';
            position: absolute;
            bottom: -20px;
            left: 50%;
            transform: translateX(-50%);
            color: var(--text-color);
            font-size: 0.8rem;
        }

        .square-diagram::after {
            content: 'a';
            position: absolute;
            top: 50%;
            right: -15px;
            transform: translateY(-50%);
            color: var(--text-color);
            font-size: 0.8rem;
        }

        .formula-box {
            margin-top: 15px;
            padding: 12px;
            background: rgba(39, 174, 96, 0.1);
            border-radius: 6px;
            border: 1px solid rgba(39, 174, 96, 0.3);
        }

        .square-properties {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 15px;
        }

        .property-item {
            padding: 10px;
            background: rgba(74, 108, 247, 0.1);
            border-radius: 6px;
            text-align: center;
        }

        .square-size {
            padding: 8px 12px;
            border-radius: 20px;
            font-weight: bold;
            margin: 10px 0;
            display: inline-block;
        }

        .small-square {
            background: rgba(33, 150, 243, 0.2);
            color: #2196f3;
            border: 1px solid #2196f3;
        }

        .medium-square {
            background: rgba(74, 108, 247, 0.2);
            color: var(--primary-color);
            border: 1px solid var(--primary-color);
        }

        .large-square {
            background: rgba(255, 193, 7, 0.2);
            color: #ffc107;
            border: 1px solid #ffc107;
        }

        .huge-square {
            background: rgba(244, 67, 54, 0.2);
            color: #f44336;
            border: 1px solid #f44336;
        }

        .comparison-item {
            padding: 8px;
            margin: 5px 0;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
            border-left: 3px solid var(--primary-color);
        }

        .math-relation {
            padding: 10px;
            margin: 10px 0;
            background: rgba(156, 39, 176, 0.1);
            border-radius: 6px;
            border-left: 4px solid #9c27b0;
        }

        .ratio-display {
            display: flex;
            justify-content: space-around;
            margin: 10px 0;
            text-align: center;
        }

        .ratio-item {
            padding: 8px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 4px;
            flex: 1;
            margin: 0 5px;
        }

        .prism-visual {
            text-align: center;
            margin: 20px 0;
            padding: 15px;
            background: rgba(74, 108, 247, 0.05);
            border-radius: 8px;
            border: 2px solid rgba(74, 108, 247, 0.3);
        }

        .formula-box {
            margin-top: 15px;
            padding: 12px;
            background: rgba(39, 174, 96, 0.1);
            border-radius: 6px;
            border: 1px solid rgba(39, 174, 96, 0.3);
        }

        .prism-properties {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 15px;
        }

        .property-item {
            padding: 10px;
            background: rgba(74, 108, 247, 0.1);
            border-radius: 6px;
            text-align: center;
        }

        .prism-type {
            padding: 8px 12px;
            border-radius: 20px;
            font-weight: bold;
            margin: 10px 0;
            display: inline-block;
        }

        .rectangular-prism {
            background: rgba(74, 108, 247, 0.2);
            color: var(--primary-color);
            border: 1px solid var(--primary-color);
        }

        .triangular-prism {
            background: rgba(255, 193, 7, 0.2);
            color: #ffc107;
            border: 1px solid #ffc107;
        }

        .hexagonal-prism {
            background: rgba(156, 39, 176, 0.2);
            color: #9c27b0;
            border: 1px solid #9c27b0;
        }

        .cylindrical-prism {
            background: rgba(33, 150, 243, 0.2);
            color: #2196f3;
            border: 1px solid #2196f3;
        }

        .comparison-item {
            padding: 8px;
            margin: 5px 0;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
            border-left: 3px solid var(--primary-color);
        }

        .equilateral-visual {
            text-align: center;
            margin: 20px 0;
            padding: 15px;
            background: rgba(74, 108, 247, 0.05);
            border-radius: 10px;
            border: 1px solid rgba(74, 108, 247, 0.2);
        }

        .equilateral-svg {
            max-width: 200px;
            height: auto;
        }

        .equilateral-properties {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 15px;
        }

        .equilateral-type {
            padding: 8px 12px;
            border-radius: 20px;
            font-weight: bold;
            margin: 10px 0;
            display: inline-block;
        }

        .small-triangle {
            background: rgba(33, 150, 243, 0.2);
            color: #2196f3;
            border: 1px solid #2196f3;
        }

        .medium-triangle {
            background: rgba(74, 108, 247, 0.2);
            color: var(--primary-color);
            border: 1px solid var(--primary-color);
        }

        .large-triangle {
            background: rgba(255, 193, 7, 0.2);
            color: #ffc107;
            border: 1px solid #ffc107;
        }

        .huge-triangle {
            background: rgba(244, 67, 54, 0.2);
            color: #f44336;
            border: 1px solid #f44336;
        }

        .math-fact {
            padding: 10px;
            margin: 10px 0;
            background: rgba(156, 39, 176, 0.1);
            border-radius: 6px;
            border-left: 4px solid #9c27b0;
        }

        .trapezoid-visual {
            text-align: center;
            margin: 20px 0;
            padding: 15px;
            background: rgba(74, 108, 247, 0.05);
            border-radius: 10px;
            border: 1px solid rgba(74, 108, 247, 0.2);
        }

        .trapezoid-diagram {
            display: inline-block;
            position: relative;
            width: 150px;
            height: 100px;
            margin: 10px 0;
        }

        .trapezoid-shape {
            position: absolute;
            bottom: 0;
            width: 100%;
            height: 0;
            border-bottom: 80px solid rgba(74, 108, 247, 0.2);
            border-left: 20px solid transparent;
            border-right: 20px solid transparent;
        }

        .trapezoid-properties {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 15px;
        }

        .trapezoid-type {
            padding: 8px 12px;
            border-radius: 20px;
            font-weight: bold;
            margin: 10px 0;
            display: inline-block;
        }

        .isosceles-trapezoid {
            background: rgba(74, 108, 247, 0.2);
            color: var(--primary-color);
            border: 1px solid var(--primary-color);
        }

        .rectangular-trapezoid {
            background: rgba(33, 150, 243, 0.2);
            color: #2196f3;
            border: 1px solid #2196f3;
        }

        .scalene-trapezoid {
            background: rgba(255, 193, 7, 0.2);
            color: #ffc107;
            border: 1px solid #ffc107;
        }

        .square-like {
            background: rgba(39, 174, 96, 0.2);
            color: #27ae60;
            border: 1px solid #27ae60;
        }

        .ratio-display {
            display: flex;
            justify-content: space-around;
            margin: 10px 0;
            text-align: center;
        }

        .ratio-item {
            padding: 8px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 4px;
            flex: 1;
            margin: 0 5px;
        }

        .math-fact {
            padding: 10px;
            margin: 10px 0;
            background: rgba(156, 39, 176, 0.1);
            border-radius: 6px;
            border-left: 4px solid #9c27b0;
        }

        /* Finans burdan sonra devam ediyor*/
        .budget-visual {
            text-align: center;
            margin: 20px 0;
            padding: 15px;
            background: rgba(74, 108, 247, 0.05);
            border-radius: 10px;
            border: 1px solid rgba(74, 108, 247, 0.2);
        }

        .budget-properties {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 15px;
        }

        .budget-status {
            padding: 8px 12px;
            border-radius: 20px;
            font-weight: bold;
            margin: 10px 0;
            display: inline-block;
        }

        .budget-positive {
            background: rgba(39, 174, 96, 0.2);
            color: #27ae60;
            border: 1px solid #27ae60;
        }

        .budget-warning {
            background: rgba(255, 193, 7, 0.2);
            color: #ffc107;
            border: 1px solid #ffc107;
        }

        .budget-negative {
            background: rgba(231, 76, 60, 0.2);
            color: #e74c3c;
            border: 1px solid #e74c3c;
        }

        .budget-excellent {
            background: rgba(155, 89, 182, 0.2);
            color: #9b59b6;
            border: 1px solid #9b59b6;
        }

        .percentage-bar {
            margin-top: 15px;
            height: 20px;
            background: #f0f0f0;
            border-radius: 10px;
            overflow: hidden;
            position: relative;
        }

        .percentage-fill {
            height: 100%;
            border-radius: 10px;
            transition: width 0.5s ease;
        }

        .percentage-text {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-weight: bold;
            color: var(--text-color);
            font-size: 0.8rem;
        }

        .financial-tips {
            padding: 10px;
            margin: 10px 0;
            background: rgba(52, 152, 219, 0.1);
            border-radius: 6px;
            border-left: 4px solid #3498db;
        }

        .savings-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 10px;
        }

        .savings-item {
            padding: 8px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 4px;
            text-align: center;
        }

        .currency-visual {
            text-align: center;
            margin: 20px 0;
            padding: 15px;
            background: rgba(74, 108, 247, 0.05);
            border-radius: 10px;
            border: 1px solid rgba(74, 108, 247, 0.2);
        }

        .currency-properties {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 15px;
        }

        .currency-rate {
            padding: 8px 12px;
            border-radius: 20px;
            font-weight: bold;
            margin: 10px 0;
            display: inline-block;
        }

        .rate-high {
            background: rgba(231, 76, 60, 0.2);
            color: #e74c3c;
            border: 1px solid #e74c3c;
        }

        .rate-medium {
            background: rgba(255, 193, 7, 0.2);
            color: #ffc107;
            border: 1px solid #ffc107;
        }

        .rate-low {
            background: rgba(39, 174, 96, 0.2);
            color: #27ae60;
            border: 1px solid #27ae60;
        }

        .exchange-table {
            width: 100%;
            margin-top: 15px;
            border-collapse: collapse;
            font-size: 0.9rem;
        }

        .exchange-table th,
        .exchange-table td {
            padding: 8px 12px;
            text-align: left;
            border-bottom: 1px solid var(--border-color);
        }

        .exchange-table th {
            background-color: rgba(74, 108, 247, 0.1);
            font-weight: 600;
            color: var(--primary-color);
        }

        .exchange-table tr:hover {
            background-color: rgba(74, 108, 247, 0.05);
        }

        .currency-flag {
            font-size: 1.2rem;
            margin-right: 8px;
        }

        .loading-spinner {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid #f3f3f3;
            border-top: 3px solid var(--primary-color);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-right: 10px;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        .financial-info {
            padding: 10px;
            margin: 10px 0;
            background: rgba(52, 152, 219, 0.1);
            border-radius: 6px;
            border-left: 4px solid #3498db;
        }

        .interest-visual {
            text-align: center;
            margin: 20px 0;
            padding: 15px;
            background: rgba(74, 108, 247, 0.05);
            border-radius: 10px;
            border: 1px solid rgba(74, 108, 247, 0.2);
        }

        .interest-properties {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 15px;
        }

        .interest-type {
            padding: 8px 12px;
            border-radius: 20px;
            font-weight: bold;
            margin: 10px 0;
            display: inline-block;
        }

        .simple-interest {
            background: rgba(52, 152, 219, 0.2);
            color: #3498db;
            border: 1px solid #3498db;
        }

        .compound-interest {
            background: rgba(39, 174, 96, 0.2);
            color: #27ae60;
            border: 1px solid #27ae60;
        }

        .growth-chart {
            margin: 20px 0;
            padding: 15px;
            background: rgba(241, 196, 15, 0.1);
            border-radius: 8px;
            border-left: 4px solid #f1c40f;
        }

        .chart-bar {
            display: flex;
            align-items: center;
            margin-top: 3px;
        }

        .bar-label {
            width: 100px;
            font-weight: 600;
            text-align: right;
        }

        .bar-container {
            flex: 1;
            height: 25px;
            background: #f0f0f0;
            border-radius: 12px;
            overflow: hidden;
            position: relative;
        }

        .bar-fill {
            height: 100%;
            border-radius: 12px;
            transition: width 0.5s ease;
        }

        .bar-value {
            position: absolute;
            top: 50%;
            left: 10px;
            transform: translateY(-50%);
            font-weight: bold;
            font-size: 0.8rem;
            color: white;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        }

        .comparison-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 15px;
        }

        .comparison-item {
            padding: 12px;
            border-radius: 8px;
            text-align: center;
            font-weight: 500;
        }

        .principal-item {
            background: rgba(52, 152, 219, 0.1);
            border: 1px solid #3498db;
        }

        .interest-item {
            background: rgba(39, 174, 96, 0.1);
            border: 1px solid #27ae60;
        }

        .total-item {
            background: rgba(155, 89, 182, 0.1);
            border: 1px solid #9b59b6;
        }

        .yearly-breakdown {
            margin: 20px 0;
            max-height: 200px;
            overflow-y: auto;
        }

        .breakdown-item {
            display: flex;
            justify-content: space-between;
            padding: 8px 12px;
            border-bottom: 1px solid var(--border-color);
            font-size: 0.9rem;
        }

        .breakdown-item:nth-child(even) {
            background: rgba(0, 0, 0, 0.02);
        }

        .financial-tip {
            padding: 10px;
            margin: 10px 0;
            background: rgba(46, 204, 113, 0.1);
            border-radius: 6px;
            border-left: 4px solid #2ecc71;
        }

        .interest-comparison {
            padding: 10px;
            margin: 10px 0;
            background: rgba(230, 126, 34, 0.1);
            border-radius: 6px;
            border-left: 4px solid #e67e22;
        }

        .inflation-visual {
            text-align: center;
            margin: 20px 0;
            padding: 15px;
            background: rgba(74, 108, 247, 0.05);
            border-radius: 10px;
            border: 1px solid rgba(74, 108, 247, 0.2);
        }

        .inflation-properties {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 15px;
        }

        .inflation-status {
            padding: 8px 12px;
            border-radius: 20px;
            font-weight: bold;
            margin: 10px 0;
            display: inline-block;
        }

        .inflation-low {
            background: rgba(39, 174, 96, 0.2);
            color: #27ae60;
            border: 1px solid #27ae60;
        }

        .inflation-medium {
            background: rgba(255, 193, 7, 0.2);
            color: #ffc107;
            border: 1px solid #ffc107;
        }

        .inflation-high {
            background: rgba(231, 76, 60, 0.2);
            color: #e74c3c;
            border: 1px solid #e74c3c;
        }

        .inflation-very-high {
            background: rgba(142, 68, 173, 0.2);
            color: #8e44ad;
            border: 1px solid #8e44ad;
        }

        .purchasing-power-bar {
            margin: 15px 0;
            height: 30px;
            background: #f0f0f0;
            border-radius: 15px;
            overflow: hidden;
            position: relative;
            border: 1px solid var(--border-color);
        }

        .power-fill {
            height: 100%;
            border-radius: 15px;
            transition: width 0.5s ease;
            background: linear-gradient(90deg, #27ae60, #e74c3c);
        }

        .power-text {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-weight: bold;
            color: var(--text-color);
            font-size: 0.9rem;
            text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
        }

        .inflation-timeline {
            margin: 20px 0;
            padding: 15px;
            background: rgba(52, 152, 219, 0.1);
            border-radius: 8px;
            border-left: 4px solid #3498db;
        }

        .timeline-item {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .timeline-item:last-child {
            border-bottom: none;
        }

        .year-badge {
            padding: 4px 8px;
            background: var(--primary-color);
            color: white;
            border-radius: 12px;
            font-size: 0.8rem;
        }

        .economic-info {
            padding: 10px;
            margin: 10px 0;
            background: rgba(241, 196, 15, 0.1);
            border-radius: 6px;
            border-left: 4px solid #f1c40f;
        }

        .comparison-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 15px;
        }

        .comparison-item {
            padding: 10px;
            border-radius: 6px;
            text-align: center;
            font-weight: 500;
        }

        .original-value {
            background: rgba(39, 174, 96, 0.1);
            border: 1px solid #27ae60;
        }

        .inflated-value {
            background: rgba(231, 76, 60, 0.1);
            border: 1px solid #e74c3c;
        }

        .expense-tracker {
            margin: 20px 0;
            padding: 15px;
            background: rgba(74, 108, 247, 0.05);
            border-radius: 10px;
            border: 1px solid rgba(74, 108, 247, 0.2);
        }

        .budget-summary {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin: 20px 0;
        }

        .summary-card {
            padding: 15px;
            border-radius: 8px;
            text-align: center;
        }

        .income-card {
            background: rgba(39, 174, 96, 0.1);
            border: 1px solid #27ae60;
        }

        .expense-card {
            background: rgba(231, 76, 60, 0.1);
            border: 1px solid #e74c3c;
        }

        .balance-card {
            background: rgba(52, 152, 219, 0.1);
            border: 1px solid #3498db;
        }

        .savings-card {
            background: rgba(155, 89, 182, 0.1);
            border: 1px solid #9b59b6;
        }

        .expense-chart {
            margin: 20px 0;
        }

        .chart-item {
            display: flex;
            align-items: center;
            margin: 12px 0;
            gap: 15px;
        }

        .chart-label {
            width: 100px;
            font-weight: 600;
            text-align: right;
            font-size: 0.9rem;
            color: var(--text-color);
        }

        .chart-bar-container {
            flex: 1;
            height: 30px;
            background: #f8f9fa;
            border-radius: 15px;
            overflow: hidden;
            position: relative;
            border: 1px solid var(--border-color);
            box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
        }

        .chart-bar {
            height: 100%;
            border-radius: 15px;
            transition: width 0.8s ease;
            min-width: 40px;
        }

        .chart-value {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-weight: bold;
            font-size: 0.85rem;
            color: white;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
            z-index: 2;
            white-space: nowrap;
        }

        .expense-list {
            margin: 20px 0;
            max-height: 300px;
            overflow-y: auto;
        }

        .expense-list-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 15px;
            border-bottom: 1px solid var(--border-color);
            transition: background-color 0.3s ease;
            background: rgba(255, 255, 255, 0.05);
        }

        .expense-list-item:hover {
            background: rgba(74, 108, 247, 0.05);
        }

        .expense-category-badge {
            padding: 6px 12px;
            border-radius: 15px;
            font-size: 0.85rem;
            font-weight: 600;
            border: 1px solid;
        }

        .budget-status {
            padding: 10px 20px;
            border-radius: 25px;
            font-weight: bold;
            margin: 15px 0;
            display: inline-block;
            font-size: 1rem;
        }

        .status-positive {
            background: linear-gradient(135deg, rgba(39, 174, 96, 0.15), rgba(39, 174, 96, 0.25));
            color: #27ae60;
            border: 2px solid #27ae60;
        }

        .status-warning {
            background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 193, 7, 0.25));
            color: #ffc107;
            border: 2px solid #ffc107;
        }

        .status-negative {
            background: linear-gradient(135deg, rgba(231, 76, 60, 0.15), rgba(231, 76, 60, 0.25));
            color: #e74c3c;
            border: 2px solid #e74c3c;
        }

        .status-excellent {
            background: linear-gradient(135deg, rgba(155, 89, 182, 0.15), rgba(155, 89, 182, 0.25));
            color: #9b59b6;
            border: 2px solid #9b59b6;
        }

        .financial-tips {
            padding: 20px;
            margin: 20px 0;
            background: linear-gradient(135deg, rgba(241, 196, 15, 0.1), rgba(241, 196, 15, 0.05));
            border-radius: 12px;
            border-left: 5px solid #f1c40f;
        }

        .tip-item {
            margin: 10px 0;
            padding: 8px 0 8px 25px;
            position: relative;
            line-height: 1.5;
        }

        .tip-item:before {
            content: "💡";
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            font-size: 1.1rem;
        }

        .monthly-projections {
            margin: 20px 0;
            padding: 20px;
            background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(52, 152, 219, 0.05));
            border-radius: 12px;
            border-left: 5px solid #3498db;
        }

        .projection-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            transition: background-color 0.3s ease;
        }

        .projection-item:hover {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 6px;
            padding: 10px 8px;
        }

        .projection-item:last-child {
            border-bottom: none;
        }

        .category-kira {
            background: linear-gradient(90deg, #e74c3c, #c0392b);
        }

        .category-faturalar {
            background: linear-gradient(90deg, #3498db, #2980b9);
        }

        .category-market {
            background: linear-gradient(90deg, #2ecc71, #27ae60);
        }

        .category-ulaşım {
            background: linear-gradient(90deg, #f39c12, #e67e22);
        }

        .category-sağlık {
            background: linear-gradient(90deg, #9b59b6, #8e44ad);
        }

        .category-eğlence {
            background: linear-gradient(90deg, #1abc9c, #16a085);
        }

        .category-giyim {
            background: linear-gradient(90deg, #d35400, #c0392b);
        }

        .category-eğitim {
            background: linear-gradient(90deg, #34495e, #2c3e50);
        }

        .category-tatil {
            background: linear-gradient(90deg, #e67e22, #d35400);
        }

        .category-diğer {
            background: linear-gradient(90deg, #95a5a6, #7f8c8d);
        }

        .discount-visual {
            text-align: center;
            margin: 20px 0;
            padding: 15px;
            background: rgba(74, 108, 247, 0.05);
            border-radius: 10px;
            border: 1px solid rgba(74, 108, 247, 0.2);
        }

        .discount-properties {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 15px;
        }

        .discount-type {
            padding: 8px 12px;
            border-radius: 20px;
            font-weight: bold;
            margin: 10px 0;
            display: inline-block;
        }

        .discount-low {
            background: rgba(39, 174, 96, 0.2);
            color: #27ae60;
            border: 1px solid #27ae60;
        }

        .discount-medium {
            background: rgba(255, 193, 7, 0.2);
            color: #ffc107;
            border: 1px solid #ffc107;
        }

        .discount-high {
            background: rgba(231, 76, 60, 0.2);
            color: #e74c3c;
            border: 1px solid #e74c3c;
        }

        .discount-very-high {
            background: rgba(155, 89, 182, 0.2);
            color: #9b59b6;
            border: 1px solid #9b59b6;
        }

        .price-comparison {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin: 20px 0;
        }

        .price-card {
            padding: 20px;
            border-radius: 12px;
            text-align: center;
            transition: transform 0.3s ease;
        }

        .price-card:hover {
            transform: translateY(-5px);
        }

        .original-price {
            background: linear-gradient(135deg, rgba(149, 165, 166, 0.1), rgba(149, 165, 166, 0.05));
            border: 2px solid #95a5a6;
        }

        .discounted-price {
            background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(39, 174, 96, 0.05));
            border: 2px solid #27ae60;
        }

        .savings-card {
            background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(231, 76, 60, 0.05));
            border: 2px solid #e74c3c;
            grid-column: span 2;
        }

        .price-bar {
            margin: 20px 0;
            height: 40px;
            background: #f8f9fa;
            border-radius: 20px;
            overflow: hidden;
            position: relative;
            border: 2px solid var(--border-color);
        }

        .price-fill {
            height: 100%;
            border-radius: 20px;
            transition: width 0.8s ease;
            background: linear-gradient(90deg, #e74c3c, #27ae60);
        }

        .price-labels {
            display: flex;
            justify-content: space-between;
            margin-top: 10px;
            font-weight: 600;
            color: var(--text-color);
        }

        .discount-breakdown {
            margin: 20px 0;
            padding: 15px;
            background: rgba(52, 152, 219, 0.1);
            border-radius: 8px;
            border-left: 4px solid #3498db;
        }

        .breakdown-item {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .breakdown-item:last-child {
            border-bottom: none;
        }

        .shopping-tips {
            padding: 15px;
            margin: 20px 0;
            background: rgba(241, 196, 15, 0.1);
            border-radius: 8px;
            border-left: 4px solid #f1c40f;
        }

        .tip-item {
            margin: 8px 0;
            padding-left: 20px;
            position: relative;
        }

        .tip-item:before {
            content: "🛍️";
            position: absolute;
            left: 0;
        }

        .multiple-discounts {
            padding: 15px;
            margin: 20px 0;
            background: rgba(155, 89, 182, 0.1);
            border-radius: 8px;
            border-left: 4px solid #9b59b6;
        }

        .profit-loss-visual {
            text-align: center;
            margin: 20px 0;
            padding: 15px;
            background: rgba(74, 108, 247, 0.05);
            border-radius: 10px;
            border: 1px solid rgba(74, 108, 247, 0.2);
        }

        .profit-loss-properties {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 15px;
        }

        .profit-loss-status {
            padding: 10px 20px;
            border-radius: 25px;
            font-weight: bold;
            margin: 15px 0;
            display: inline-block;
            font-size: 1rem;
        }

        .status-profit {
            background: linear-gradient(135deg, rgba(39, 174, 96, 0.15), rgba(39, 174, 96, 0.25));
            color: #27ae60;
            border: 2px solid #27ae60;
        }

        .status-loss {
            background: linear-gradient(135deg, rgba(231, 76, 60, 0.15), rgba(231, 76, 60, 0.25));
            color: #e74c3c;
            border: 2px solid #e74c3c;
        }

        .status-break-even {
            background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 193, 7, 0.25));
            color: #ffc107;
            border: 2px solid #ffc107;
        }

        .status-high-profit {
            background: linear-gradient(135deg, rgba(155, 89, 182, 0.15), rgba(155, 89, 182, 0.25));
            color: #9b59b6;
            border: 2px solid #9b59b6;
        }

        .financial-summary {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin: 20px 0;
        }

        .summary-card {
            padding: 20px;
            border-radius: 12px;
            text-align: center;
            transition: transform 0.3s ease;
        }

        .summary-card:hover {
            transform: translateY(-5px);
        }

        .cost-card {
            background: linear-gradient(135deg, rgba(149, 165, 166, 0.1), rgba(149, 165, 166, 0.05));
            border: 2px solid #95a5a6;
        }

        .revenue-card {
            background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(52, 152, 219, 0.05));
            border: 2px solid #3498db;
        }

        .profit-card {
            background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(39, 174, 96, 0.05));
            border: 2px solid #27ae60;
        }

        .margin-card {
            background: linear-gradient(135deg, rgba(155, 89, 182, 0.1), rgba(155, 89, 182, 0.05));
            border: 2px solid #9b59b6;
        }

        .profit-bar {
            margin: 20px 0;
            height: 40px;
            background: #f8f9fa;
            border-radius: 20px;
            overflow: hidden;
            position: relative;
            border: 2px solid var(--border-color);
        }

        .profit-fill {
            height: 100%;
            border-radius: 20px;
            transition: width 0.8s ease;
        }

        .profit-labels {
            display: flex;
            justify-content: space-between;
            margin-top: 10px;
            font-weight: 600;
            color: var(--text-color);
        }

        .cost-breakdown {
            margin: 20px 0;
            padding: 15px;
            background: rgba(52, 152, 219, 0.1);
            border-radius: 8px;
            border-left: 4px solid #3498db;
        }

        .breakdown-item {
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .breakdown-item:last-child {
            border-bottom: none;
        }

        .business-tips {
            padding: 15px;
            margin: 20px 0;
            background: rgba(241, 196, 15, 0.1);
            border-radius: 8px;
            border-left: 4px solid #f1c40f;
        }

        .tip-item {
            margin: 8px 0;
            padding-left: 20px;
            position: relative;
        }

        .tip-item:before {
            content: "💼";
            position: absolute;
            left: 0;
        }

        .scaling-analysis {
            padding: 15px;
            margin: 20px 0;
            background: rgba(230, 126, 34, 0.1);
            border-radius: 8px;
            border-left: 4px solid #e67e22;
        }

        .scenario-item {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .scenario-item:last-child {
            border-bottom: none;
        }

        .performance-metrics {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin: 15px 0;
        }

        .metric-item {
            padding: 10px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 6px;
            text-align: center;
        }

        .kdv-visual {
            text-align: center;
            margin: 20px 0;
            padding: 15px;
            background: rgba(74, 108, 247, 0.05);
            border-radius: 10px;
            border: 1px solid rgba(74, 108, 247, 0.2);
        }

        .kdv-properties {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 15px;
        }

        .kdv-rate-type {
            padding: 8px 12px;
            border-radius: 20px;
            font-weight: bold;
            margin: 10px 0;
            display: inline-block;
        }

        .rate-low {
            background: rgba(39, 174, 96, 0.2);
            color: #27ae60;
            border: 1px solid #27ae60;
        }

        .rate-medium {
            background: rgba(255, 193, 7, 0.2);
            color: #ffc107;
            border: 1px solid #ffc107;
        }

        .rate-high {
            background: rgba(231, 76, 60, 0.2);
            color: #e74c3c;
            border: 1px solid #e74c3c;
        }

        .rate-special {
            background: rgba(155, 89, 182, 0.2);
            color: #9b59b6;
            border: 1px solid #9b59b6;
        }

        .kdv-comparison {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin: 20px 0;
        }

        .kdv-card {
            padding: 20px;
            border-radius: 12px;
            text-align: center;
            transition: transform 0.3s ease;
        }

        .kdv-card:hover {
            transform: translateY(-5px);
        }

        .net-price {
            background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(52, 152, 219, 0.05));
            border: 2px solid #3498db;
        }

        .vat-amount {
            background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(231, 76, 60, 0.05));
            border: 2px solid #e74c3c;
        }

        .gross-price {
            background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(39, 174, 96, 0.05));
            border: 2px solid #27ae60;
            grid-column: span 2;
        }

        .kdv-bar {
            margin: 20px 0;
            height: 40px;
            background: #f8f9fa;
            border-radius: 20px;
            overflow: hidden;
            position: relative;
            border: 2px solid var(--border-color);
        }

        .kdv-fill {
            height: 100%;
            border-radius: 20px;
            transition: width 0.8s ease;
            background: linear-gradient(90deg, #3498db, #e74c3c);
        }

        .kdv-labels {
            display: flex;
            justify-content: space-between;
            margin-top: 10px;
            font-weight: 600;
            color: var(--text-color);
        }

        .kdv-breakdown {
            margin: 20px 0;
            padding: 15px;
            background: rgba(52, 152, 219, 0.1);
            border-radius: 8px;
            border-left: 4px solid #3498db;
        }

        .breakdown-item {
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .breakdown-item:last-child {
            border-bottom: none;
        }

        .tax-info {
            padding: 15px;
            margin: 20px 0;
            background: rgba(241, 196, 15, 0.1);
            border-radius: 8px;
            border-left: 4px solid #f1c40f;
        }

        .info-item {
            margin: 8px 0;
            padding-left: 20px;
            position: relative;
        }

        .info-item:before {
            content: "📊";
            position: absolute;
            left: 0;
        }

        .rate-comparison {
            padding: 15px;
            margin: 20px 0;
            background: rgba(155, 89, 182, 0.1);
            border-radius: 8px;
            border-left: 4px solid #9b59b6;
        }

        .rate-item {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .rate-item:last-child {
            border-bottom: none;
        }

        .kdv-metrics {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin: 15px 0;
        }

        .metric-item {
            padding: 10px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 6px;
            text-align: center;
        }

        .salary-visual {
            text-align: center;
            margin: 20px 0;
            padding: 15px;
            background: rgba(74, 108, 247, 0.05);
            border-radius: 10px;
            border: 1px solid rgba(74, 108, 247, 0.2);
        }

        .salary-properties {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 15px;
        }

        .salary-type {
            padding: 10px 20px;
            border-radius: 25px;
            font-weight: bold;
            margin: 15px 0;
            display: inline-block;
            font-size: 1rem;
        }

        .salary-gross {
            background: linear-gradient(135deg, rgba(52, 152, 219, 0.15), rgba(52, 152, 219, 0.25));
            color: #3498db;
            border: 2px solid #3498db;
        }

        .salary-net {
            background: linear-gradient(135deg, rgba(39, 174, 96, 0.15), rgba(39, 174, 96, 0.25));
            color: #27ae60;
            border: 2px solid #27ae60;
        }

        .salary-comparison {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin: 20px 0;
        }

        .salary-card {
            padding: 20px;
            border-radius: 12px;
            text-align: center;
            transition: transform 0.3s ease;
        }

        .salary-card:hover {
            transform: translateY(-5px);
        }

        .gross-salary {
            background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(52, 152, 219, 0.05));
            border: 2px solid #3498db;
        }

        .net-salary {
            background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(39, 174, 96, 0.05));
            border: 2px solid #27ae60;
        }

        .deductions-card {
            background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(231, 76, 60, 0.05));
            border: 2px solid #e74c3c;
            grid-column: span 2;
        }

        .salary-bar {
            margin: 20px 0;
            height: 40px;
            background: #f8f9fa;
            border-radius: 20px;
            overflow: hidden;
            position: relative;
            border: 2px solid var(--border-color);
        }

        .salary-fill {
            height: 100%;
            border-radius: 20px;
            transition: width 0.8s ease;
            background: linear-gradient(90deg, #3498db, #e74c3c, #27ae60);
        }

        .salary-labels {
            display: flex;
            justify-content: space-between;
            margin-top: 10px;
            font-weight: 600;
            color: var(--text-color);
        }

        .deductions-breakdown {
            margin: 20px 0;
            padding: 15px;
            background: rgba(52, 152, 219, 0.1);
            border-radius: 8px;
            border-left: 4px solid #3498db;
        }

        .breakdown-item {
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .breakdown-item:last-child {
            border-bottom: none;
        }

        .tax-info {
            padding: 15px;
            margin: 20px 0;
            background: rgba(241, 196, 15, 0.1);
            border-radius: 8px;
            border-left: 4px solid #f1c40f;
        }

        .info-item {
            margin: 8px 0;
            padding-left: 20px;
            position: relative;
        }

        .info-item:before {
            content: "💰";
            position: absolute;
            left: 0;
        }

        .salary-metrics {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin: 15px 0;
        }

        .metric-item {
            padding: 10px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 6px;
            text-align: center;
        }

        .yearly-comparison {
            padding: 15px;
            margin: 20px 0;
            background: rgba(155, 89, 182, 0.1);
            border-radius: 8px;
            border-left: 4px solid #9b59b6;
        }

        .yearly-item {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .yearly-item:last-child {
            border-bottom: none;
        }

        .kredi-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-bottom: 1.5rem;
        }

        .kredi-item {
            padding: 12px;
            background: rgba(74, 108, 247, 0.1);
            border-radius: 8px;
            text-align: center;
            border: 1px solid var(--border-color);
        }

        .kredi-table {
            width: 100%;
            margin-top: 15px;
            border-collapse: collapse;
            font-size: 0.9rem;
        }

        .kredi-table th,
        .kredi-table td {
            padding: 8px 12px;
            text-align: center;
            border-bottom: 1px solid var(--border-color);
        }

        .kredi-table th {
            background-color: rgba(74, 108, 247, 0.1);
            font-weight: 600;
            color: var(--primary-color);
        }

        .kredi-table tr:hover {
            background-color: rgba(74, 108, 247, 0.05);
        }

        .kredi-bilgi {
            margin-top: 15px;
            padding: 15px;
            background: rgba(39, 174, 96, 0.1);
            border-radius: 8px;
            border: 1px solid rgba(39, 174, 96, 0.3);
        }

        .kredi-uyari {
            margin-top: 10px;
            padding: 12px;
            background: rgba(255, 193, 7, 0.1);
            border-radius: 6px;
            border: 1px solid rgba(255, 193, 7, 0.3);
            font-size: 0.9rem;
        }

        .formula-box {
            color: var(--text-color);
        }

        /* Sosyal Medya Paylaşım Butonları */
        .social-share-container {
            margin: 2rem 0;
            padding: 1.5rem;
            background: var(--bg-color);
            border: 1px solid var(--border-color);
            border-radius: 1rem;
            box-shadow: var(--shadow);
        }

        .social-share-container h4 {
            color: var(--text-color);
            margin-bottom: 1rem;
            font-size: 1.1rem;
            font-weight: 600;
        }

        .social-share-buttons {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 0.8rem;
        }

        .social-share-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.8rem 1rem;
            border: 1px solid var(--border-color);
            border-radius: 0.8rem;
            background: var(--bg-color);
            color: var(--text-color);
            font-size: 0.9rem;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            text-decoration: none;
        }

        .social-share-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .social-share-btn:active {
            transform: translateY(0);
        }

        /* Facebook */
        .facebook-btn {
            background: rgba(59, 89, 152, 0.1);
            border-color: rgba(59, 89, 152, 0.3);
            color: #3b5998;
        }

        .facebook-btn:hover {
            background: rgba(59, 89, 152, 0.2);
            border-color: #3b5998;
        }

        /* Twitter */
        .twitter-btn {
            background: rgba(29, 161, 242, 0.1);
            border-color: rgba(29, 161, 242, 0.3);
            color: #1da1f2;
        }

        .twitter-btn:hover {
            background: rgba(29, 161, 242, 0.2);
            border-color: #1da1f2;
        }

        /* LinkedIn */
        .linkedin-btn {
            background: rgba(0, 119, 181, 0.1);
            border-color: rgba(0, 119, 181, 0.3);
            color: #0077b5;
        }

        .linkedin-btn:hover {
            background: rgba(0, 119, 181, 0.2);
            border-color: #0077b5;
        }

        /* WhatsApp */
        .whatsapp-btn {
            background: rgba(37, 211, 102, 0.1);
            border-color: rgba(37, 211, 102, 0.3);
            color: #25d366;
        }

        .whatsapp-btn:hover {
            background: rgba(37, 211, 102, 0.2);
            border-color: #25d366;
        }

        /* Telegram */
        .telegram-btn {
            background: rgba(0, 136, 204, 0.1);
            border-color: rgba(0, 136, 204, 0.3);
            color: #0088cc;
        }

        .telegram-btn:hover {
            background: rgba(0, 136, 204, 0.2);
            border-color: #0088cc;
        }

        /* Kopyala Butonu */
        .copy-btn {
            background: rgba(108, 117, 125, 0.1);
            border-color: rgba(108, 117, 125, 0.3);
            color: #6c757d;
        }

        .copy-btn:hover {
            background: rgba(108, 117, 125, 0.2);
            border-color: #6c757d;
        }

        /* Dark Mode Optimizasyonları */
        .dark-mode .social-share-btn {
            background: rgba(255, 255, 255, 0.05);
        }

        .dark-mode .facebook-btn {
            background: rgba(59, 89, 152, 0.15);
        }

        .dark-mode .twitter-btn {
            background: rgba(29, 161, 242, 0.15);
        }

        .dark-mode .linkedin-btn {
            background: rgba(0, 119, 181, 0.15);
        }

        .dark-mode .whatsapp-btn {
            background: rgba(37, 211, 102, 0.15);
        }

        .dark-mode .telegram-btn {
            background: rgba(0, 136, 204, 0.15);
        }

        .dark-mode .copy-btn {
            background: rgba(108, 117, 125, 0.15);
        }









        /* Responsive tasarım */
        @media (max-width: 768px) {
            .calculator-card {
                padding: 1.5rem;
                margin: 1rem 0;
            }

            .calculator-header h1 {
                font-size: 1.5rem;
            }

            .result-value {
                font-size: 1.3rem;
            }

            .input-group input {
                padding: 10px 12px;
                width: 80%;
            }

            .calculate-btn {
                padding: 12px;
                font-size: 1rem;
            }

            .operation-buttons {
                grid-template-columns: 1fr;

            }

            .numbers-grid {
                grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
            }

            .comparison-grid {
                grid-template-columns: 1fr;
            }

            .conversion-grid {
                grid-template-columns: 1fr;
            }

            .conversions-table {
                font-size: 0.9rem;
            }

            .conversions-table th,
            .conversions-table td {
                padding: 6px 8px;
            }

            /* geometri başlangıcı*/
            .circle-properties {
                grid-template-columns: 1fr;
            }

            .unit-select {
                width: 80%;
            }

            .rectangle-properties {
                grid-template-columns: 1fr;
            }

            .cylinder-properties {
                grid-template-columns: 1fr;
            }

            .sphere-properties {
                grid-template-columns: 1fr;
            }

            .cone-properties {
                grid-template-columns: 1fr;
            }

            .square-properties {
                grid-template-columns: 1fr;
            }

            .ratio-display {
                flex-direction: column;
            }

            .ratio-item {
                margin: 5px 0;
            }

            .prism-properties {
                grid-template-columns: 1fr;
            }

            .equilateral-properties {
                grid-template-columns: 1fr;
            }

            .trapezoid-properties {
                grid-template-columns: 1fr;
            }

            .ratio-display {
                flex-direction: column;
            }

            .ratio-item {
                margin: 5px 0;
            }

            /* Finans burdan sonra devam ediyor*/
            .budget-properties {
                grid-template-columns: 1fr;
            }

            .savings-grid {
                grid-template-columns: 1fr;
            }

            .currency-properties {
                grid-template-columns: 1fr;
            }

            .exchange-table {
                font-size: 0.8rem;
            }

            .exchange-table th,
            .exchange-table td {
                padding: 6px 8px;
            }

            .interest-properties {
                grid-template-columns: 1fr;
            }

            .comparison-grid {
                grid-template-columns: 1fr;
            }

            .chart-bar {
                flex-direction: column;
                align-items: flex-start;
                gap: 5px;
            }

            .bar-label {
                width: auto;
                text-align: left;
            }

            .inflation-properties {
                grid-template-columns: 1fr;
            }

            .comparison-grid {
                grid-template-columns: 1fr;
            }

            .budget-summary {
                grid-template-columns: 1fr;
                gap: 10px;
            }

            .chart-item {
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
                margin: 15px 0;
            }

            .chart-label {
                width: auto;
                text-align: left;
                font-size: 0.85rem;
            }

            .chart-bar-container {
                width: 100%;
                height: 25px;
            }

            .chart-value {
                font-size: 0.8rem;
            }

            .expense-list-item {
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
                padding: 15px;
            }

            .budget-status {
                padding: 8px 16px;
                font-size: 0.9rem;
            }

            .discount-properties {
                grid-template-columns: 1fr;
            }

            .price-comparison {
                grid-template-columns: 1fr;
                gap: 10px;
            }

            .savings-card {
                grid-column: span 1;
            }

            .price-bar {
                height: 30px;
            }

            .profit-loss-properties {
                grid-template-columns: 1fr;
            }

            .financial-summary {
                grid-template-columns: 1fr;
                gap: 10px;
            }

            .performance-metrics {
                grid-template-columns: 1fr;
            }

            .profit-bar {
                height: 30px;
            }

            .kdv-properties {
                grid-template-columns: 1fr;
            }

            .kdv-comparison {
                grid-template-columns: 1fr;
                gap: 10px;
            }

            .gross-price {
                grid-column: span 1;
            }

            .kdv-metrics {
                grid-template-columns: 1fr;
            }

            .kdv-bar {
                height: 30px;
            }

            .salary-properties {
                grid-template-columns: 1fr;
            }

            .salary-comparison {
                grid-template-columns: 1fr;
                gap: 10px;
            }

            .deductions-card {
                grid-column: span 1;
            }

            .salary-metrics {
                grid-template-columns: 1fr;
            }

            .salary-bar {
                height: 30px;
            }

            .kredi-grid {
                grid-template-columns: 1fr;
            }

            .kredi-table {
                font-size: 0.8rem;
            }

            .kredi-table th,
            .kredi-table td {
                padding: 6px 8px;
            }

        }

        /* sosyal media paylaşma*/
        .social-share-buttons {
            grid-template-columns: repeat(2, 1fr);
        }

        .social-share-btn {
            padding: 0.7rem 0.8rem;
            font-size: 0.85rem;
        }

        .social-share-btn span {
            display: none;
        }

        .social-share-btn svg {
            margin-right: 0;
        }


        @media (max-width: 480px) {
            .calculator-card {
                padding: 1rem;
                border-radius: 0.8rem;
            }

            .calculator-header h1 {
                font-size: 1.3rem;
            }

            .result {
                padding: 1rem;
            }

            .result-value {
                font-size: 1.2rem;
            }

            .input-group input {
                padding: 10px 12px;
                width: 100%;
            }
            

            .unit-select {
                width: 100%;
            }

            /* sosyal media paylaşma*/
            .social-share-buttons {
                grid-template-columns: repeat(3, 1fr);
            }

            .social-share-container {
                padding: 1rem;
            }


        }