*, *::before, *::after {
	box-sizing: border-box;
}

:root {
	--bg:#fafaf9;
	--surface:#ffffff;
	--surface-2:#f3f2ef;
	--text:#1c1c1c;
	--text-muted:#767676;
	--border:#e3e1dc;
	--border-strong:#cac7c0;
	--accent:#ef6c1f;
	--accent-hover:#d75c14;
	--accent-contrast:#ffffff;
	--danger:#b3261e;
	--success:#2f7a4f;
}

body {
	background: var(--bg);
    color: var(--text);
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
	font-size: 16px;
	width: 100%;
	text-align: center;
	margin: 0 auto;
	padding: 20px;
}

main {
	display:flex;
	flex-direction: column;
	justify-content: center;
	align-content: center;
	max-width: 500px;
	margin: 0 auto;
}

footer{
	max-width: 1000px;
	margin: 0 auto;
	padding: 20px 20px 40px;
	font-size: 0.72rem;
	color: var(--text-muted);
}

button {
    font-weight: 600;
	background: var(--accent);
    color: var(--accent-contrast);
	border: none;
    padding: 15px 15px;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.12s ease;
}

button:hover {
	background: var(--accent-hover);
}

button:disabled { 
	opacity: 0.5;
	cursor: not-allowed;
}

label {
    display: block;
    margin-bottom: 6px;
}
  
.auth-tabs {
	display: flex;
	flex-direction: row;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow:hidden;
    margin-bottom: 24px;
	align-items: center;
	justify-content: center;
}
 
.tab{
    flex: 1;
    cursor: pointer;
    border: none;
	color: var(--text-muted);
	background: #ffffff;
  }

.tab.active	{
	color: var(--accent-contrast);
	background: var(--accent);
}

form{
	display: none;   
    flex-direction: column;
    gap: 15px;
}

form.active {
	display: flex;
}

input {
	width: 100%;
	max-width: 478px;
    
	padding: 10px 10px;
	
    background: var(--surface);
    color: var(--text);
	
    border: 1px solid var(--border);
    border-radius: 6px;
    
	outline: none;
}
 
input:focus {
	border-color: var(--accent); 
}

.logo {
	display: flex;
	justify-content: center;
	margin-bottom: 8px;
}

.logo img {
	max-width: 160px;
	width: 100%;
	height: auto;
}

.landing-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 8px;
}

button.secondary {
	background: var(--surface);
	color: var(--accent);
	border: 1px solid var(--accent);
}

button.secondary:hover {
	background: var(--surface-2);
}



