:root {
    --arctic-50: #f0f9ff;
    --arctic-100: #e0f2fe;
    --arctic-200: #bae6fd;
    --arctic-300: #7dd3fc;
    --arctic-400: #38bdf8;
    --arctic-500: #0ea5e9;
    --arctic-600: #0284c7;
    --arctic-700: #0369a1;
    --arctic-800: #075985;
    --arctic-900: #0c4a6e;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-900: #0f172a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--slate-900);
    background-image: radial-gradient(circle at 50% 50%, rgba(9, 15, 32, 0.2) 0%, transparent 70%);
    color: #e2e8f0;
    min-height: 100vh;
    line-height: 1.5;
}

.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 4rem;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    
}
#head_logo{
    display: flex;
    flex-direction: row;
    align-items: center;
}
#img_logo{
    width: 50px;
    margin-bottom: 10px;
}
.header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--arctic-400);
    text-shadow: 0 0 8px rgb(44 143 191 / 32%);
}

.header p {
    font-size: 1.25rem;
    color: var(--arctic-300);
    max-width: 42rem;
    margin: 0 auto;
}

/* Cards */
.cards-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}


@media (min-width: 768px) {
    .cards-container {
        flex-direction: row;
    }
}

.card {
    /* flex: 1; */
    background-color: rgba(30, 41, 59, 0.356);
    border-radius: 0.75rem;
    padding: 20px;
    border: 1px solid rgba(7, 89, 133, 0.199);
    transition: all 0.3s ease;
}
.card1{
    flex: 15;
}
.card2{
    flex: 8;
}
.card_auth{
    margin-bottom: 10px;
    
}
.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.card-bullet {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
    background-color: var(--arctic-400);
    margin-right: 0.75rem;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--arctic-300);
}

/* Opportunities */
.opportunity {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(51, 65, 85, 0.3);
    padding: 7px;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-size: 14px;
}

.opportunity:last-child {
    margin-bottom: 0;
}

.opportunity-pair {
    font-weight: 500;
}

.opportunity-route {
    font-size: 0.9rem;
    color: var(--arctic-300);
}

.opportunity-percent {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 1.125rem;
    color: rgb(16, 238, 219);
}
.opportunity-price{
    color: rgb(91, 255, 15);
    font-size: 1.145rem;
}
.block-tarif{
    height: 65px;
}
/* Stats */
.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.stat-item {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: calc(50% - 0.5rem);
    background-color: rgba(51, 65, 85, 0.3);
    padding: 1rem;
    border-radius: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--arctic-300);
    margin-bottom: 0.25rem;
}

.stat-value {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 18px;
    color: var(--arctic-400);
}

/* Buttons */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s;
    margin-bottom: 1rem;
}

.btn-primary {
    background-color: var(--arctic-600);
    color: white;
}

.btn-primary:hover {
    background-color: var(--arctic-500);
}

.btn-secondary {
    border: 1px solid var(--arctic-500);
    color: var(--arctic-300);
}

.btn-secondary:hover {
    background-color: rgba(7, 89, 133, 0.3);
}

.btn-icon {
    margin-right: 0.5rem;
    width: 1.25rem;
    height: 1.25rem;
}

.login-link {
    text-align: center;
    font-size: 0.875rem;
    color: var(--arctic-300);
    margin-top: 1rem;
}

.login-link a {
    color: var(--arctic-400);
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Features */
.features-section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--arctic-300);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(7, 89, 133, 0.5);
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .features-grid {
        flex-direction: row;
    }
}

.feature-card {
    flex: 1;
    background-color: rgba(30, 41, 59, 0.4);
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--arctic-600);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--arctic-200);
    margin-bottom: 0.5rem;
}

.feature-description {
    color: var(--arctic-300);
    font-size: 14px;
}

/* Exchanges */
.exchanges-section {
    margin-bottom: 4rem;
}

.exchanges-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.exchange-item {
    /* flex: 1 1 calc(50% - 0.5rem);
    min-width: calc(50% - 0.5rem); */
    background-color: rgba(30, 41, 59, 0.3);
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 20px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.exchange-item > img{
    width: 23px;
    height: 23px;
    margin-right: 4px;
}
@media (min-width: 640px) {
    /* .exchange-item {
        flex: 1 1 calc(10.333% - 0.666rem);
        min-width: calc(3.333% - 0.666rem);
    } */
}

/* @media (min-width: 768px) {
    .exchange-item {
        flex: 1 1 calc(16.666% - 0.833rem);
        min-width: calc(16.666% - 0.833rem);
    }
} */

.exchange-name {
    font-weight: 500;
    color: var(--arctic-200);
}

/* CTA */
.cta-section {
    background: linear-gradient(to right, rgba(7, 89, 133, 0.4), rgba(12, 74, 110, 0.4));
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .cta-section {
        padding: 3rem;
    }
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--arctic-100);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 1.875rem;
    }
}

.cta-description {
    font-size: 1.125rem;
    color: var(--arctic-300);
    margin-bottom: 1.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--arctic-600);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s;
}

.cta-button:hover {
    background-color: var(--arctic-500);
}

.cta-button svg {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(7, 89, 133, 0.5);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
    }
}

.footer-copyright {
    color: var(--arctic-300);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .footer-copyright {
        margin-bottom: 0;
    }
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-link {
    color: var(--arctic-400);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--arctic-300);
}

/* Spacing */
.py-12 {
    padding-top: 10px;
    padding-bottom: 3rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mr-3 {
    margin-right: 0.75rem;
}
.custom_input {
	display: flex;
	align-items: center;
	position: relative;
	max-width: 100%;
}

.input {
	font-size: 17px;
	padding: 5px 11px;
	width: 100%;
	outline: none;
	background: rgba(51, 65, 85, 0.3);
	color: #189edb;
	border: 1px solid rgba(50, 70, 99, 0.3);
	border-radius: 5px;
	transition: .2s ease;
    text-align: center;
}

.input:focus {
	background: rgba(46, 63, 87, 0.3);
	border: 1px solid #5A7EC7;
	border-radius: 10px;
}

.input::placeholder {
	color: #0cff0c8a;
}

div.block_auth{
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(7, 89, 133, 0.5);
    padding-bottom: 15px;
}
