<?php 
$menu = $this->uri->segment(1) ? strtolower($this->uri->segment(1)) : '';
$sub_menu = $this->uri->segment(2) ? strtolower($this->uri->segment(2)) : '';
$sub_menu3 = $this->uri->segment(3) ? strtolower($this->uri->segment(3)) : '';
$cepi = $this->db->get_where('tb_api',['id' => 1])->row_array();
 ?>
<!DOCTYPE html>
<html prefix="og: http://ogp.me/ns#" lang="id">
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<head>
    <base href="<?php echo base_url(); ?>"/>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="author" content="">
    <meta name="keywords" content="<?php echo $profil['nama']; ?>"/>
    <link rel="canonical" href="" />
    <link rel="icon" type="image/ico" sizes="32x32" href="assets/admin/img/<?php echo $profil['favicon']; ?>">
    <link rel="manifest" href="assets/home/manifestaead.json?v=jw36PzjJdF">
    <meta name="msapplication-TileColor" content="#3eaa8d">
    <!-- <meta name="theme-color" content="#3eaa8d"> -->

    <title><?php echo $title; ?> - <?php echo $profil['nama']; ?></title>

    <!-- Bootstrap core CSS -->

    <link href="assets/home/css/bootstrap.min.css" rel="stylesheet">
    <link href="assets/home/css/engine.css" rel="stylesheet">

    <!-- CSS OWL -->
    <link rel="stylesheet" href="assets/home/css/owl/owl.carousel.min.css">
    <link rel="stylesheet" href="assets/home/css/owl/owl.theme.default.min.css">

    <!-- Font Awesome -->
    <link rel="stylesheet" href="assets/home/fonts/fontawesome/css/all.css">

    <!-- Css Global Benihbaik -->
    <link href="assets/home/css/cssGlobalBenihBaik/newBenihbaike5bf.css?v=12" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css?family=Roboto&amp;display=swap" rel="stylesheet">

    <!-- Css Global Benihbaik ScrollBarApple -->
    <link href="assets/home/css/cssGlobalBenihBaik/scrollBarApple7b30.css?v=4" rel="stylesheet"> 

    <!-- DatePicker Benihbaik -->
     <link href="assets/home/unpkg.com/gijgo%401.9.13/css/gijgo.min.css" rel="stylesheet" type="text/css" />
     <!-- <link href="https://m.benihbaik.com/css/gijgo.min.css" rel="stylesheet" type="text/css" /> -->

    <!-- Dropify -->
    <link rel="stylesheet" href="assets/home/plugin/dropify/dist/css/dropify.min.css">
    <!-- End Dropify -->

    <link rel="stylesheet" href="assets/home/css/cssHome2bea6.css?v=7">
<link rel="stylesheet" href="assets/home/plugin/swiper/swiper-bundle.min3860.css?v=1" />
<link href="assets/home/css/cssGlobalBenihBaik/inputBenihbaik.css" rel="stylesheet">
    <link rel="stylesheet" href="assets/home/unpkg.com/placeholder-loading%400.6.0/dist/css/placeholder-loading.min.css">
    <style>
        *{
            letter-spacing: 0px !important;
        }
        .card-body {
            -webkit-box-flex: 1;
            -ms-flex: 1 1 auto;
            flex: 1 1 auto;
            padding: 1.1rem;
        }
        .no-margin{
            margin-right: 0px;
            margin-left: 0px;
        }
        .upcontent {
            margin-top: -80px;
        }
        hr {
            margin-top: 0.5rem;
            margin-bottom: 0.5rem;
            border: 0;
            border-top-color: currentcolor;
            border-top-style: none;
            border-top-width: 0px;
            border-top: 1px solid
            rgba(0,0,0,.1);
        }
        .form-control {
            /* border-bottom: 1px solid #f2f2f2; */
            /* border-radius: 5px; */ 
            padding: 12px 24px 12px 24px;  
            font-family:montserrat-regular !important;
        }
        
        .font_benihbaik_judul2{
            font-size: 0.9em;
            margin-bottom: 5px;
            letter-spacing: 0px;
            color: #d6d6d6;
        }

        input[name='nominal']::-webkit-input-placeholder { /* Edge */
            color: #ffffff !important;
        }

        input[name='nominal']:-ms-input-placeholder { /* Internet Explorer 10-11 */
            color: #ffffff !important;
        }

        input[name='debit']::placeholder {
            color: #495057 !important;
        }

        #the-count {
            float: right;
            padding: 0.1rem 0 0 0;
            font-size: 0.875rem;
        }

        body{
            /* background-color: #ffffff !important; */
        }

        footer{
            background-color: #ffffff !important;
        }

        main.container {
            background-color: #ffffff !important;
        }
        .title{
            color:#ffffff;
        }

        .block2 {
            font-family: montserrat-regular;
            font-size: 15px; 
            color: #FFFFFF !important;
            line-height: 1.2;
            display: flex;
            font-weight: 600;
            justify-content: center;
            align-items: center;
            padding: 0 20px;
            min-width: 100%;
            height: 55px;
            background-color: #41B548; 
            transition: all .4s;
            border-radius: 8px; 
        }

        .block2:hover {
            background-color: #236445;
            color: #FFFFFF;
        }

        .block3 {
            font-family: montserrat-regular;
            font-size: 15px; 
            color: #23B570;
            line-height: 1.2;
            display: flex;
            font-weight: 600;
            justify-content: center;
            align-items: center;
            padding: 0 20px;
            min-width: 100%;
            height: 55px;
            background-color: #ffffff; 
            transition: all .4s;
            border-radius: 8px;
        }

        .block3:hover { 
            background-color: #236445;
            color: #FFFFFF;
        }

        .block6 {
            font-family: montserrat-regular;
            font-size: 15px; 
            color: #666666 !important;
            line-height: 1.2;
            display: flex;
            font-weight: 600;
            justify-content: center;
            align-items: center;
            padding: 0 20px;
            min-width: 100%;
            height: 55px;
            background-color: #ebebeb !important;
            transition: all .4s;
            border-radius: 8px;
            border: 0px solid #999999 !important;
        }

        .block6:hover { 
            background-color: #cccccc !important;
            color: #666666 !important;
        }

        button:disabled,
        button[disabled]{
        border: 1px solid #999999 !important;
        background-color: #cccccc !important;
        color: #666666 !important;; 
        }

        .custom-control-label::before ,.custom-control-label::after {
            right: 0 !important;
        }

        label span {
            position: absolute !important;
            right: 21px !important;  
        }

        /* .is-mobile {
            display: none;
        }
        @media (max-width: 480px) {
            .is-default {
                display: none;
            }
            .is-mobile {
                display: block;
            }
        } */
        .custom-select {
            padding: 0px 24px 0px 24px !important;
            background: #F2F2F2 url("https://m.benihbaik.com/img/icon/Caret_down_font_awesome.svg") no-repeat right 0.75rem center/8px 10px;
            background-size: 15px;
        }

    </style>

<style>
  @supports (-webkit-appearance: none) or (-moz-appearance: none) {

    input[type=checkbox],
    input[type=radio] {
      --active: #23B570;
      --active-inner: #fff;
      --focus: 2px rgba(39, 254, 147, 0.829);
      --border: #828282;
      --border-hover: #23B570;
      --background: #fff;
      --disabled: #f6f8ff;
      --disabled-inner: #e1e6f9;
      -webkit-appearance: none;
      -moz-appearance: none;
      height: 21px;
      outline: none;
      display: inline-block;
      vertical-align: top;
      position: relative;
      margin: 0;
      cursor: pointer;
      border: 1px solid var(--bc, var(--border));
      background: var(--b, var(--background));
      transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
    }

    input[type=checkbox]:after,
    input[type=radio]:after {
      content: "";
      display: block;
      left: 0;
      top: 0;
      position: absolute;
      transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
    }

    input[type=checkbox]:checked,
    input[type=radio]:checked {
      --b: var(--active);
      --bc: var(--active);
      --d-o: 0.3s;
      --d-t: 0.6s;
      --d-t-e: cubic-bezier(0.2, 0.85, 0.32, 1.2);
    }

    input[type=checkbox]:disabled,
    input[type=radio]:disabled {
      --b: var(--disabled);
      cursor: not-allowed;
      opacity: 0.9;
    }

    input[type=checkbox]:disabled:checked,
    input[type=radio]:disabled:checked {
      --b: var(--disabled-inner);
      --bc: var(--border);
    }

    input[type=checkbox]:disabled+label,
    input[type=radio]:disabled+label {
      cursor: not-allowed;
    }

    input[type=checkbox]:hover:not(:checked):not(:disabled),
    input[type=radio]:hover:not(:checked):not(:disabled) {
      --bc: var(--border-hover);
    }

    input[type=checkbox]:focus,
    input[type=radio]:focus {
      box-shadow: 0 0 0 var(--focus);
    }

    input[type=checkbox]:not(.switch),
    input[type=radio]:not(.switch) {
      width: 21px;
    }

    input[type=checkbox]:not(.switch):after,
    input[type=radio]:not(.switch):after {
      opacity: var(--o, 0);
    }

    input[type=checkbox]:not(.switch):checked,
    input[type=radio]:not(.switch):checked {
      --o: 1;
    }

    input[type=checkbox]+label,
    input[type=radio]+label {
      font-size: 14px;
      line-height: 21px;
      display: inline-block;
      vertical-align: top;
      cursor: pointer;
      margin-left: 4px;
    }

    input[type=checkbox]:not(.switch) {
      border-radius: 7px;
    }

    input[type=checkbox]:not(.switch):after {
      width: 5px;
      height: 9px;
      border: 2px solid var(--active-inner);
      border-top: 0;
      border-left: 0;
      left: 7px;
      top: 4px;
      transform: rotate(var(--r, 20deg));
    }

    input[type=checkbox]:not(.switch):checked {
      --r: 43deg;
    }

    input[type=checkbox].switch {
      width: 38px;
      border-radius: 11px;
    }

    input[type=checkbox].switch:after {
      left: 2px;
      top: 2px;
      border-radius: 50%;
      width: 15px;
      height: 15px;
      background: var(--ab, var(--border));
      transform: translateX(var(--x, 0));
    }

    input[type=checkbox].switch:checked {
      --ab: var(--active-inner);
      --x: 17px;
    }

    input[type=checkbox].switch:disabled:not(:checked):after {
      opacity: 0.6;
    }

    input[type=radio] {
      border-radius: 50%;
    }

    #update-nomor-user{
        display: none;
    }

    #update-nomor-user.active{ 
        display: block;
    }

    input[type=radio]:after {
      width: 19px;
      height: 19px;
      border-radius: 50%;
      background: var(--active-inner);
      opacity: 0;
      transform: scale(var(--s, 0.7));
    }

    input[type=radio]:checked {
      --s: 0.5;
    }
  }

  .box2{
            padding:12px;
            background: #F4F4F4;
            border-radius: 4px;
            border: none !important;
            box-shadow: none !important;
        }

        .title3{
            font-family: montserrat-regular !important;
            font-style: normal;
            font-weight: 600;
            font-size: 13px;
            line-height: 19px;
            margin-bottom:0px !important;
            color: #323232;      
        }

        #form-hari{
            display: none;
        }

        #form-hari.active{
            display: block;
        }

        #form-minggu{
            display: none;
        }

        #form-minggu.active{
            display: block;
        }

        #form-bulan{
            display: none;
        }

        #form-bulan.active{
            display: block;
        }

  .modal_center .modal-content{ 
            max-width: 480px !important;
            margin: auto;
            left: -0.2%; 
        }
</style>

</head>
<body class="wrap-all-content">

    <!-- <div class="se-pre-con"></div> -->
    <!-- Main -->
    <main role="main" class="container with-navbar" style="padding:0px 0px 0px 0px; max-width: 480px !important;">
        <!-- Content -->
            <!-- Set up your HTML -->

    <div class="row no-margin" style="background-color: #41B548; height: 50px">

    </div>

    <nav class="container navbar fixed-top navbar-default p-0 title benihbaik_solid" style="max-width: 480px;background: #ffffff !important;">
        <div style="max-width: 480px !important; margin: 0px 30px;height: 100%;width: 100%; display: flex; align-items: center;">
            <span class="navbar-text title-navbar">
                <a href="https://m.benihbaik.com/payment-method/bantuan-untuk-mantan-atlet" class="navbar-text mr-2"><i class="fa fa-arrow-left title " style="color:black;"></i></a><span class="title-nav" style="font-size:16px;color:#000000;"><b><?php echo $title; ?></b></span>
            </span>
        </div>
    </nav>

     <form class="formPayment" method="POST" action="">
        <input type="hidden" name="<?php echo $this->security->get_csrf_token_name(); ?>" value="<?php echo $this->security->get_csrf_hash(); ?>">
         <div class="col-12" style="padding: 0px 20px 5px 20px;">
            <div class="form-group mt-3 mb-3">
                <label for="" class="font_benihbaik_judul_detail font-label"><b>Nama Lengkap *</b></label>
                <input type="text" name="nama" class="form-control" style="font-size:14px;border: 1px solid #41b548;"  placeholder="Nama Lengkap">
            </div>

            <div class="form-group mt-3 mb-3">
                <label for="" class="font_benihbaik_judul_detail font-label"><b>Email *</b></label>
                <input id="contact" type="text" name="email" class="form-control" style="font-size:14px;border: 1px solid #41b548;" placeholder="Email">
            </div>

            <div class="form-group mt-3 mb-3">
                <label for="" class="font_benihbaik_judul_detail font-label"><b>Telepon *</b></label>
                <input type="number" name="telp" class="form-control" style="font-size:14px;border: 1px solid #41b548;" placeholder="Telepon">
            </div>
        </div>

         <div class="container fixed-bottom py-0" style="max-width: 480px;padding-left: 0px;padding-right: 0px;">
             <div class="col-12" style="padding: 5px 20px 0px 20px;">
                <button type="submit" class="form-control font_benihbaik_judul block2">Lanjutkan Donasi</button>
            </div>
         </div>

    </form>

        <!-- Content -->
    </main>
    <!-- Main -->  