/* === Base Resets === */
html {
    overflow-y: scroll;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

textarea, input, a, button {
    outline: none;
}

/* === Typography === */
body {
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #e3f9f6;
    background-color: #000;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

a {
    transition: all 0.2s ease-in-out;
}

a:hover, a:visited, a:focus, a:active,
button:hover, button:visited, button:active, button:focus {
    text-decoration: none;
    outline: none;
}

::selection, ::-moz-selection {
    background: #000;
    color: #e3f9f6;
    text-shadow: none;
}

/* === Header === */
header {
    text-align: center;
    padding: 20px 0;
    background-color: #000a08;
    height: 65px;
}

.header-title {
    margin: 0;
    color: #e3f9f6;
    text-align: left;
    font-size: 23px;
    float: left;
}

.header-icons span {
    font-size: 24px;
    color: #e3f9f6;
    margin-left: 10px;
    cursor: pointer;
}

/* === Search Bar === */
.search-form-wrapper {
    position: relative;
    background: #000a08;
    padding: 0 10px;
}

.search-input-wrapper {
    position: relative;
    padding: 10px 0 25px 0;
    background-color: rgb(3 22 20 / 80%);
    border-radius: 8px;
}

.search-input {
    width: 100%;
    height: 60px;
    padding: 0 10px 0 65px;
    font-size: 1.2em;
    border-radius: 5px;
    border: none;
    background: rgba(0, 41, 36, 0.8);
    color: #e3f9f6;
}

.search-input-wrapper span {
    position: absolute;
    left: 10px;
    top: 20px;
    font-size: 2.5em;
    color: #00bfa5!important;
    padding: 0 10px;
}

::placeholder {
    color: #e3f9f6;  /* soft teal */
    opacity: 1;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #e3f9f6;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: #e3f9f6;
}


/* === App Elements === */
.app-elements-content {
    position: relative;
    background-color: #000a08;
    padding: 20px;
    min-height: calc(100vh - 108px);
}

.app-elements-title-wrapper {
    margin: 20px auto;
}

.app-element-row {
    position: relative;
    width: 100%;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0px 8px 24px rgba(149, 157, 165, 0.2);
    background: #000;
}

.aer-t {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.aer-t-l-w {
    width: 80px;
    padding-right: 15px;
}

.aer-t-m-w {
    width: calc(100% - 200px);
    padding-right: 15px;
}

.aer-t-r-w {
    width: 120px;
}

.aer-title {
    color: #e3f9f6;
    font-size: 1.2em;
}

.app-element-icon {
    border-radius: 7px;
}

.aer-b {
    margin-top: 10px;
}

/* === Labels and Values === */
.arel-label {
    color: #e3f9f6;
    font-weight: 400;
    margin-right: 5px;
}

.arel-val {
    color: #e3f9f6;
    font-weight: 600;
}

.arel-icons i {
    color: #00E676;
    font-size: 18px;
    margin-left: 5px;
}

/* === Install Button === */
.app-element-i-button {
	position: relative;
	color: #e3f9f6;
	background: #B399EA;
	width: 100%;
	text-align: center;
	border-radius: 7px;
	display: flex;
	align-items: center;
	font-weight: 700;
	justify-content: center;
	font-size: 0.9em;
    border-radius: 0 !important;
    font-size: 14px !important;
    color: #e3f9f6!important;
    background-image: linear-gradient(to left, #00bfa5, #00695c);
    border: 2px solid #00695c !important;

}
.app-element-i-button .button-icon {
	margin-right: 5px;
	filter: invert(100%) sepia(17%) saturate(2%) hue-rotate(353deg) brightness(115%) contrast(100%);
	color: #e3f9f6;
}

.app-element-i-button:hover {
    background-image: linear-gradient(to left, #00997f, #00524a);
    border: 2px solid #00524a !important;
    cursor: pointer;
}


.app-element-i-button {
		padding: 9px 5px;
	}
	.app-element-i-button .button-icon {
		font-size: 1.2em;
	}
.button-icon-2 {
	margin-right: 5px;
	color: #e3f9f6;
	font-size: 1em;
}

.material-icons-two-tone {
    --mdc-icon-color: #e3f9f6 !important;  /* if using MDC (Material Design Components) */
    color: #e3f9f6 !important;             /* primary fallback */
    font-variation-settings: 'FILL' 1;  /* forces filled style */
}

/* === Loading Bar === */
.download-loadbar {
    width: 100%;
    margin: 4px 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

.download-loadbar div {
    font-size: 5px;
    text-indent: 9999px;
    background: #00bfa5;
    border-radius: 2px;
}

.downloading-loader-wrapper {
    text-align: center;
    margin-top: 4px;
    display: none;
}

.downloading-loader-wrapper i {
    font-size: 1.2em;
    color: #00bfa5;
}

/* === Responsive Adjustments === */
@media (max-width: 480px) {
    .app-elements-content {
        padding: 5px;
        padding-bottom: 90px;
        min-height: calc(100vh - 76px);
    }

    .app-element-row {
        padding: 10px;
    }

    .aer-t-l-w {
        width: 60px;
    }

    .aer-t-m-w {
        width: calc(100% - 160px);
    }

    .aer-t-r-w {
        width: 100px;
    }
}

@media (min-width: 800px) {
    body,
    .s-wrapper,
    .content-wrapper,
    .app-elements-content,
    .app-element-row-wrapper {
        max-width: 450px;
        margin: 0 auto;
    }
}

/* === Special Buttons (Offers) === */
.offer-action-button {
    background: linear-gradient(90deg, #7b2ff7, #f107a3);
    color: #e3f9f6;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.offer-action-button:hover {
    background: linear-gradient(90deg, #f107a3, #7b2ff7);
    box-shadow: 0 0 15px rgba(241, 7, 163, 0.7);
    transform: scale(1.05);
    cursor: pointer;
}
.downloading-msg-wrapper {
    color: #80cbc4; /* soft teal, readable and themed */
    font-size: 0.95em;
    font-weight: 500;
}
.d-m-an-v {
    font-weight: 700;
    color: #a7ffeb; /* lighter mint accent for the filename */
}
