@font-face {
    font-family: 'MyCustomFont';
    src: url('/static/wallet/fonts/Mulish-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'MyCustomFont', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.header {
    background-color: #753B97;
    color: white;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.header h1 {
    margin: 0;
    font-size: 1.2rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.header h1 img{
    height: 30px;
}
.header h1 .heder-img-1{
    height: 34px;
}

.back-button, .menu-button {
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

.menu-button img, .back-button img{
    width: 30px;
    height: 30px;
}

.wallet-logo {
    width: 30px;
    height: 30px;
    margin-right: 5px;
    border-radius: 50%;
    background-color: #f9a826;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.container {
    padding: 20px;
    text-align: center;
    max-width: 400px;
    margin: auto;
}

.container .logo-img{
    height: 160px;
}

.container .gold{
    color: #F6B133;
}
.container h2{
    margin-top: 0;
}

.passphrase-input {
    width: 90%;
    margin: 20px auto;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 18px;
    min-height: 28vh;
    text-align: left;
    color: #888;
}

.error-message {
    color: #e74c3c;
    margin: 10px 0;
}

.button {
    display: block;
    width: 100%;
    margin: 15px auto;
    padding: 15px;
    border-radius: 10px;
    font-size: 17px;
    text-align: center;
    cursor: pointer;
    border: none;
}

.primary-button {
    background-color: #753B97;
    color: white;
}

.secondary-button {
    background-color: white;
    color: #753B97;
    border: 1px solid #753B97;
}

.disclaimer {
    margin-top: 30px;
    padding: 0 20px;
    font-size: 16px;
    color: #555;
    text-align: left;
}

.link {
    color: #4788D2;
    text-decoration: none;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    text-decoration: none;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    border: 1px solid #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.feature-item img {
    width: 80px;
    height: 80px;
    color: #753B97;
}

.explore-button {
    background-color: #753B97;
    color: white;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}
.explore-button img{
    height: 24px;
}

.large-logo {
    width: 100px;
    height: 100px;
    margin: 30px auto;
    border-radius: 50%;
    background-color: #f9a826;
    display: flex;
    justify-content: center;
    align-items: center;
}

a.feature-item .feature-icon {
    position: relative;
}

a.feature-item .feature-icon::after {
    content: '';
    position: absolute;
    top: -3px;
    right: -3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #f9a826; /* Pi gold color */
    opacity: 0;
    transition: opacity 0.2s;
}

a.feature-item:hover .feature-icon::after {
    opacity: 1;
}

/* Make all feature items consistent in terms of dimensions */
.feature-item {
    min-height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px;
    color: #753B97;
}

.alert{
    color: #db696b;
}
.alert-success{
    color: #4abd33;
}