/* October Wallet — Frontend Styles
   Intentionally minimal. Override in your theme as needed. */

.ow-balance {
	display: inline-flex;
	align-items: baseline;
	gap: .4em;
}
.ow-balance-label {
	font-size: .9em;
	opacity: .7;
}
.ow-balance-amount {
	font-size: 1.2em;
	font-weight: 700;
}

.ow-deposit-form { max-width: 420px; }

.ow-notice {
	padding: .85em 1.1em;
	border-radius: 5px;
	margin-bottom: 1.2em;
	font-size: .95em;
}
.ow-notice-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.ow-notice-info    { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }

.ow-field { margin-bottom: 1.1em; }
.ow-field label {
	display: block;
	font-weight: 600;
	margin-bottom: .35em;
	font-size: .9em;
}

.ow-amount-input {
	display: flex;
	align-items: center;
	border: 1px solid #ccc;
	border-radius: 4px;
	overflow: hidden;
	width: fit-content;
}
.ow-currency-prefix {
	padding: .5em .75em;
	background: #f5f5f5;
	border-right: 1px solid #ccc;
	font-size: .9em;
	color: #555;
}
.ow-input {
	border: none;
	padding: .5em .75em;
	font-size: 1em;
	width: 120px;
}
.ow-input:focus { outline: none; }

.ow-select {
	padding: .5em .75em;
	font-size: 1em;
	border: 1px solid #ccc;
	border-radius: 4px;
	min-width: 180px;
}

.ow-field-note { font-size: .82em; color: #666; margin-top: .3em; }

.ow-fixed-amount { font-size: 1em; margin-bottom: 1em; }

.ow-btn {
	display: inline-block;
	padding: .6em 1.4em;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 1em;
	font-weight: 600;
	text-decoration: none;
}
.ow-btn-deposit { background: #635bff; color: #fff; } /* Stripe purple */
.ow-btn-deposit:hover { background: #5046e4; color: #fff; }

.ow-login-prompt, .ow-error, .ow-empty { font-size: .95em; color: #666; }
.ow-error { color: #991b1b; }

.ow-transactions { overflow-x: auto; }
.ow-table { width: 100%; border-collapse: collapse; font-size: .9em; }
.ow-table th {
	text-align: left;
	padding: .6em .85em;
	border-bottom: 2px solid #eee;
	font-weight: 600;
	font-size: .8em;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: #888;
}
.ow-table td { padding: .55em .85em; border-bottom: 1px solid #f0f0f0; }

.ow-type {
	display: inline-block;
	padding: .2em .5em;
	border-radius: 3px;
	font-size: .78em;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.ow-type-deposit { background: #d1fae5; color: #065f46; }
.ow-type-debit   { background: #fee2e2; color: #991b1b; }
.ow-type-credit  { background: #dbeafe; color: #1e40af; }
.ow-type-refund  { background: #fef3c7; color: #92400e; }

.ow-amount { font-weight: 600; }
.ow-positive { color: #059669; }
.ow-negative { color: #dc2626; }
