/* .aframe_konteyner {
    background-color: #222222;
    width: 100%;
    min-height: 140vh;
    height: auto;
    padding-bottom: 100px;
    box-sizing: border-box;
}

.aframe_basliq {
	background-color: rgb(40, 100, 215);
	width: 80%;
	height: 40px;
	font-size: 16px;
	margin: 0 10%;
	display: flex;
	align-items: center;
    text-align: center;
    justify-content: center;
	margin-bottom: 10px;
	font-weight: 400;
	color: white;
	border: solid 1px white;
	border-radius: 5px;
} */





/* ======================================================= */
/*             A-FRAME KALKULYATORU ÜÇÜN STİLLƏR            */
/* ======================================================= */

*{
    margin: 0px;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #222222;
}

.aframe_basliq {
	background-color: rgb(40, 100, 215);
	width: 80%;
	height: 40px;
	font-size: 16px;
	margin: 0 10%;
	display: flex;
	align-items: center;
    text-align: center;
    justify-content: center;
	margin-bottom: 10px;
	font-weight: 400;
	color: white;
	border: solid 1px white;
	border-radius: 5px;
} 

.aframe_konteyner {
    box-sizing: border-box;
    padding-bottom: 120px;
}

.input_output {
    display: flex;
    flex-direction: column; /* Mobil cihazlarda sütunlar alt-alta düzülür */
    gap: 25px;
    padding: 15px;
    box-sizing: border-box;
}

.input-panel,
.output-panel {
    background-color: #2d2d2d;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #444;
    width: 100%;
    box-sizing: border-box;
}

/* --- Giriş və Nəticə Panellərinin Başlıqları --- */

.input-panel h3,
.results-container h3 {
    margin-top: 0;
    color: #61dafb;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* --- Giriş Sahələri --- */
.input-group {
    margin-bottom: 18px;
}

.input-group label {
    display: block;
    color: #ccc;
    margin-bottom: 6px;
    font-size: 14px;
}

.input-group input[type="number"] {
    width: 100%;
    padding: 12px;
    background-color: #222;
    border: 1px solid #555;
    border-radius: 6px;
    color: #f0f0f0;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-group input[type="number"]:focus {
    outline: none;
    border-color: #61dafb;
    box-shadow: 0 0 0 3px rgba(97, 218, 251, 0.2);
}

.input-panel hr {
    border: none;
    border-top: 1px solid #444;
    margin: 25px 0;
}

/* --- Vizual Görünüş və Nəticələr --- */

.visual-container {
    background-color: #222;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 25px;
    border: 1px solid #444;
}

#aFrameDrawing {
    width: 100%;
    height: auto;
}

#aFrameDrawing text {
    fill: #f0f0f0;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    paint-order: stroke;
    stroke: #222;
    stroke-width: 2px;
}

.result-group {
    margin-bottom: 20px;
}

.result-group h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #f0f0f0;
    font-weight: 500;
}

.result-group p {
    margin: 8px 0;
    color: #ccc;
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    line-height: 1.6;
}

.result-group p strong {
    color: #ffc107;
    font-size: 16px;
    background-color: #383838;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
}


/* ======================================================= */
/*          BÖYÜK EKRANLAR ÜÇÜN STİLLƏR (Desktop)         */
/* ======================================================= */

@media screen and (min-width: 800px) {

    .aframe_konteyner {
        /* background-color: #ffc107; */
        max-width: 1100px; 
        margin: 30px auto 0 auto;
        display: block; 
    }

    .aframe_basliq {
        width: 200px;
        margin-left: auto;
        margin-right: auto;
    } 

    .input_output {
        /* background-color: greenyellow; */
        width: auto;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        gap: 10px;
    }

    /* Panellərin enini nisbətə görə bölürük */
    .output-panel {
        flex: 2; /* Boşluğun 2 hissəsini tutur (daha geniş) */
        order: 1; /* Solda görünməsini təmin edir (istəyə bağlı) */
    }

    .input-panel {
        flex: 1; /* Boşluğun 1 hissəsini tutur (daha dar) */
        order: 2; /* Sağda görünməsini təmin edir (istəyə bağlı) */
    }
    
    .visual-container {
        max-width: 550px;
        margin-left: auto;
        margin-right: auto;
    }
}